Alexey N. Solofnenko wrote:
Can you use instead? See:
http://ant.apache.org/manual/OptionalTasks/scriptdef.html .
i have tried already with no success (probably not hard enough :-),
thanks,
Marcel
- Alexey.
Marcel Ruff wrote:
After fiddling further i have found this workaround
others, like this it is possible to collect
precondition code at a single place.
But still I'm wondering about the scope of scripts ...
thanks
Marcel
http://www.xmlBlaster.org
Marcel Ruff wrote:
Hi,
i have defined a javascript function in a "pre" task,
but when i want to call it lat
Hi,
i have defined a javascript function in a "pre" task,
but when i want to call it later i get:
ReferenceError: "doPrecond" is not defined
Here is the xml, i call it with 'ant y':
-
function doPrecond() { project.log("HELLO
PRECOND"); }
doPrecond();
Thanks, this did indeed work:
export LOCALCLASSPATH=$CLASSPATH:$HOME/apache-ant-1.6.5/lib/ant.jar
but it seems that as soon as i touch LOCALCLASSPATH i'm forced to
add all needed jars of ant/lib to this LOCALCLASSPATH as well (see above
example),
what is the reason for this? Before the CLASSP
Hi,
i'm using ANT 1.6.5 on Linux (same for JDK 1.4 or 1.5).
I have written an own task, inside this i use
java.util.logging.
When i want to load my own logging handler it fails:
[xmlBlasterScript] java.lang.ClassNotFoundException:
org.xmlBlaster.util.log.XbNotifyHandler
[xmlBlasterScript]
Hi,
i'm using ANT 1.6.5 on Linux (same for JDK 1.4 or 1.5).
I have written an own task, inside this i use
java.util.logging.
When i want to load my own logging handler it fails:
[xmlBlasterScript] java.lang.ClassNotFoundException:
org.xmlBlaster.util.log.XbNotifyHandler
[xmlBlasterScript]