Hi, the docs indicate that post has a "rawFile" attribute. But it doesn't seem to work for me with 1.0b2. What the "new" way to just post a file?
BUILD FAILED
/Users/ttop/sources/subset/primary/build.xml:6: The <post> type doesn't support the "rawfile" attribute.
at org.apache.tools.ant.IntrospectionHelper.setAttribute(IntrospectionHelper.java:516)
at org.apache.tools.ant.RuntimeConfigurable.maybeConfigure(RuntimeConfigurable.java:368)
at org.apache.tools.ant.RuntimeConfigurable.maybeConfigure(RuntimeConfigurable.java:322)
at org.apache.tools.ant.Task.maybeConfigure(Task.java:254)
at org.apache.tools.ant.UnknownElement.configure(UnknownElement.java:189)
at org.apache.tools.ant.UnknownElement.maybeConfigure(UnknownElement.java:158)
at org.apache.tools.ant.Task.perform(Task.java:363)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
at org.apache.tools.ant.Project.executeTargets(Project.java:1062)
at org.apache.tools.ant.Main.runBuild(Main.java:673)
at org.apache.tools.ant.Main.startAnt(Main.java:188)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:196)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:55)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Yes, it is really strange - I looked also at source - this option does not exist AND the POSTing is done not as 'multipart/form-data', but as 'application/x-www-form-urlencoded', which afaik excludes the possibility to send raw data.
Seems like this task is either downgraded or not-completed :(
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi, the docs indicate that post has a "rawFile" attribute. But it doesn't seem to work for me with 1.0b2. What the "new" way to just post a file?
BUILD FAILED
/Users/ttop/sources/subset/primary/build.xml:6: The <post> type doesn't support the "rawfile" attribute.
at org.apache.tools.ant.IntrospectionHelper.setAttribute(IntrospectionHelper.java:516)
at org.apache.tools.ant.RuntimeConfigurable.maybeConfigure(RuntimeConfigurable.java:368)
at org.apache.tools.ant.RuntimeConfigurable.maybeConfigure(RuntimeConfigurable.java:322)
at org.apache.tools.ant.Task.maybeConfigure(Task.java:254)
at org.apache.tools.ant.UnknownElement.configure(UnknownElement.java:189)
at org.apache.tools.ant.UnknownElement.maybeConfigure(UnknownElement.java:158)
at org.apache.tools.ant.Task.perform(Task.java:363)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
at org.apache.tools.ant.Project.executeTargets(Project.java:1062)
at org.apache.tools.ant.Main.runBuild(Main.java:673)
at org.apache.tools.ant.Main.startAnt(Main.java:188)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:196)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:55)
Yes, it is really strange - I looked also at source - this option does not exist AND the POSTing is done not as 'multipart/form-data', but as 'application/x-www-form-urlencoded', which afaik excludes the possibility to send raw data.
Seems like this task is either downgraded or not-completed :(