You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bu...@apache.org on 2008/04/29 10:18:28 UTC

DO NOT REPLY [Bug 44900] New: Exec: Nested args are not passed to task

https://issues.apache.org/bugzilla/show_bug.cgi?id=44900

           Summary: Exec: Nested args are not passed to task
           Product: Ant
           Version: 1.7.0
          Platform: Other
        OS/Version: AIX
            Status: NEW
          Severity: critical
          Priority: P2
         Component: Core tasks
        AssignedTo: notifications@ant.apache.org
        ReportedBy: ettikx@gmail.com


Created an attachment (id=21877)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=21877)
A testcase to reproduce problem

Hi, I'm migrating an app from Ant 1.6.1 to Ant 1.7.0, and I have problems with
exec tasks. Ant execute task without passing arguments to process!

For example, I have this task definition:

<project name="permision" default="permision"  basedir=".">
        <property name="timeout" value="120000" />
        <target name="permision">
                <echo message="Modify directories permissions ${path}, mask
${dirMask}" />
                <exec executable="chmod" 
                          timeout="${timeout}"
                          failonerror="true">            
                        <arg line="-R ${dirMask} ${path}" />
                </exec>
                <echo message="Modify files permissions ${path}, mask
${fileMask}" />
                <exec executable="/data/bin/ant/permisions.sh" 
                          timeout="${timeout}"
                          failonerror="true">

                        <arg line="${path} ${fileMask}" />         
                </exec>
        </target>
</project>

An easy one, and works ok with Ant 1.6, as you can see in logs:

(...)
23 Apr 2008 17:31:10 [INFO ] Modify directories permissions /data/servers/ftp,
mask 755
23 Apr 2008 17:31:10 [DEBUG] Task "echo"finished
23 Apr 2008 17:31:10 [DEBUG] Task "exec" started
23 Apr 2008 17:31:10 [DEBUG] Current OS is AIX
23 Apr 2008 17:31:10 [DEBUG] Executing 'chmod' with arguments:
'-R'
'755'
'/data/servers/ftp'

The ' characters around the executable and arguments are
not part of the command.
23 Apr 2008 17:31:10 [DEBUG] Execute:Java13CommandLauncher: Executing 'chmod'
with arguments:
'-R'
'755'
'/data/servers/ftp

The ' characters around the executable and arguments are
not part of the command.
23 Apr 2008 17:31:10 [INFO ]
(...)


With Ant 1.7.0 I get this log:

24 Apr 2008 15:49:42 [DEBUG] Task "echo" started
24 Apr 2008 15:49:42 [INFO ] Modify directories permissions /data/servers/ftp,
mask 777
24 Apr 2008 15:49:42 [DEBUG] Task "echo"finished
24 Apr 2008 15:49:42 [DEBUG] Task "exec" started
24 Apr 2008 15:49:42 [DEBUG] Current OS is AIX
24 Apr 2008 15:49:42 [DEBUG] Executing 'chmod'
The ' characters around the executable and arguments are
not part of the command.
24 Apr 2008 15:49:42 [DEBUG] Execute:Java13CommandLauncher: Executing 'chmod'
The ' characters around the executable and arguments are
not part of the command.
24 Apr 2008 15:49:42 [INFO ] Usage: chmod [-R] [-f] [-h] {u|g|o|a ...} {+|-|=}
{r|w|x|X|s|t ...} File ...
24 Apr 2008 15:49:42 [INFO ]  chmod [-R] [-f] [-h] OctalNumber File ...
24 Apr 2008 15:49:42 [INFO ]  Changes the permission codes for files or
directories.
24 Apr 2008 15:49:42 [ERROR] Task "exec" finished with error (null)
24 Apr 2008 15:49:42 [ERROR] Target "permision" finished with error (null)
/data/bin/ant/permisions.xml:8: exec returned: 255
   at org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:636)
   at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:662)
   at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:487)
   at sun.reflect.GeneratedMethodAccessor16.invoke(Unknown Source)
   at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:618)
   at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
   at org.apache.tools.ant.Task.perform(Task.java:348)
   at org.apache.tools.ant.Target.execute(Target.java:357)
   at org.apache.tools.ant.Target.performTasks(Target.java:385)
   at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
   at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
   at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
   at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
   at com.sbd.hardist.util.ant.AntProcess.execute(AntProcess.java:157)

Ant task isn't receiving parameters!

This task are executed using Ant's java api. If I execute task manually, all
goes ok too. And if I use deprecated <exec command, all goes fine too!

I'm using java 1.5.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

DO NOT REPLY [Bug 44900] Using ant java api: Exec: Nested args are not passed to task

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=44900


Xavi <et...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|1.7.0                       |1.7.1




-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

[Bug 44900] Using ant java api: Exec: Nested args are not passed to task

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=44900

Stefan Bodewig <bo...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |WONTFIX

--- Comment #10 from Stefan Bodewig <bo...@apache.org> ---
works fine when using ProjectHelper2 rather than projectHelperImpl which has
bencome unused since 1.3 or something like that.

-- 
You are receiving this mail because:
You are the assignee for the bug.

DO NOT REPLY [Bug 44900] Exec: Nested args are not passed to task

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=44900


Xavi <et...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|critical                    |major




-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

DO NOT REPLY [Bug 44900] Using ant java api: Exec: Nested args are not passed to task

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=44900





--- Comment #3 from Peter Reilly <pe...@apache.org>  2008-04-29 02:30:15 PST ---
It would be better for you to make a new tarball.

Peter


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

DO NOT REPLY [Bug 44900] Using ant java api: Exec: Nested args are not passed to task

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=44900





--- Comment #2 from Xavi <et...@gmail.com>  2008-04-29 02:17:43 PST ---
Hi,

1) ok.
2) /usr/bin/sh is the normal location for sh in AIX.
3) ops, it searches for task xml, its hardcoded in TestAnt.java. And the same
with log4j, the location of log file it's in log4j.properties.

So, must I create another testcase with changes, or you can do the changes
manually?

thanks.


(In reply to comment #1)
> Thanks for the rar file.
> 
> I have changed the summary to reflect the fact that
> this is seem only when using the java api.
> 
> There is a number of problems with the .rar file.
> 
> 1) it is a rar file - use tar.gz or zip
> 2) it is not selfcontained - the launch.sh and build.sh
>    refer to jar files in variosu places, also they use /usr/bin/sh
>    which is not a normal localtion for sh.
> 3) sh build.sh works, but sh launch.sh looks for files outside
>    the directory and fails.
> 
> new launch.sh
> -------
> CLASSPATH=$ANT_HOME/lib/ant.jar:$ANT_HOME/lib/ant-antlr.jar:$ANT_HOME/ant-launcher.jar:commons-lang.jar:log4j.jar:.
> java -cp $CLASSPATH TestAnt
> -------
> new build.sh
> ------------
> CLASSPATH=$ANT_HOME/lib/ant.jar:$ANT_HOME/lib/ant-antlr.jar:$ANT_HOME/lib/ant-launcher.jar:commons-lang.jar:log4j.jar:.
> javac -Xlint:unchecked -cp $CLASSPATH Log4jAntListener.java
> javac -Xlint:unchecked -cp $CLASSPATH AntProcess.java
> javac -Xlint:unchecked -cp $CLASSPATH TestAnt.java
> --------
> 
> I copied in log4j.jar (shudder) and commons-lang.jar into the directory.
> 
> The failure when running launch is:
> 
> [preilly@localhost bug44900-exec]$ sh launch.sh
> log4j:ERROR setFile(null,true) call failed.
> java.io.FileNotFoundException: /tests/testant/testant.log (No such file or
> directory)
>         at java.io.FileOutputStream.openAppend(Native Method)
>         at java.io.FileOutputStream.<init>(FileOutputStream.java:177)
>         at java.io.FileOutputStream.<init>(FileOutputStream.java:102)
>         at org.apache.log4j.FileAppender.setFile(FileAppender.java:290)
>         at
> org.apache.log4j.RollingFileAppender.setFile(RollingFileAppender.java:194)
>         at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:164)
>         at
> org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:257)
>         at
> org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:133)
>         at
> org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:97)
>         at
> org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator.java:689)
>         at
> org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:647)
>         at
> org.apache.log4j.PropertyConfigurator.configureRootCategory(PropertyConfigurator.java:544)
>         at
> org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:440)
>         at
> org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:476)
>         at
> org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:471)
>         at org.apache.log4j.LogManager.<clinit>(LogManager.java:125)
>         at org.apache.log4j.Logger.getLogger(Logger.java:105)
>         at TestAnt.main(TestAnt.java:7)
> Exception in thread "main" java.lang.IllegalArgumentException: build file not
> found! /Harvest/pruebas/Xavi/bugant/permisions.xml
>         at AntProcess.setBuild(AntProcess.java:79)
>         at AntProcess.<init>(AntProcess.java:42)
>         at TestAnt.main(TestAnt.java:17)
> 


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

DO NOT REPLY [Bug 44900] Using ant java api: Exec: Nested args are not passed to task

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=44900


Peter Reilly <pe...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Exec: Nested args are not   |Using ant java api: Exec:
                   |passed to task              |Nested args are not passed
                   |                            |to task




--- Comment #1 from Peter Reilly <pe...@apache.org>  2008-04-29 02:01:44 PST ---
Thanks for the rar file.

I have changed the summary to reflect the fact that
this is seem only when using the java api.

There is a number of problems with the .rar file.

1) it is a rar file - use tar.gz or zip
2) it is not selfcontained - the launch.sh and build.sh
   refer to jar files in variosu places, also they use /usr/bin/sh
   which is not a normal localtion for sh.
3) sh build.sh works, but sh launch.sh looks for files outside
   the directory and fails.

new launch.sh
-------
CLASSPATH=$ANT_HOME/lib/ant.jar:$ANT_HOME/lib/ant-antlr.jar:$ANT_HOME/ant-launcher.jar:commons-lang.jar:log4j.jar:.
java -cp $CLASSPATH TestAnt
-------
new build.sh
------------
CLASSPATH=$ANT_HOME/lib/ant.jar:$ANT_HOME/lib/ant-antlr.jar:$ANT_HOME/lib/ant-launcher.jar:commons-lang.jar:log4j.jar:.
javac -Xlint:unchecked -cp $CLASSPATH Log4jAntListener.java
javac -Xlint:unchecked -cp $CLASSPATH AntProcess.java
javac -Xlint:unchecked -cp $CLASSPATH TestAnt.java
--------

I copied in log4j.jar (shudder) and commons-lang.jar into the directory.

The failure when running launch is:

[preilly@localhost bug44900-exec]$ sh launch.sh
log4j:ERROR setFile(null,true) call failed.
java.io.FileNotFoundException: /tests/testant/testant.log (No such file or
directory)
        at java.io.FileOutputStream.openAppend(Native Method)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:177)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:102)
        at org.apache.log4j.FileAppender.setFile(FileAppender.java:290)
        at
org.apache.log4j.RollingFileAppender.setFile(RollingFileAppender.java:194)
        at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:164)
        at
org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:257)
        at
org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:133)
        at
org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:97)
        at
org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator.java:689)
        at
org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:647)
        at
org.apache.log4j.PropertyConfigurator.configureRootCategory(PropertyConfigurator.java:544)
        at
org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:440)
        at
org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:476)
        at
org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:471)
        at org.apache.log4j.LogManager.<clinit>(LogManager.java:125)
        at org.apache.log4j.Logger.getLogger(Logger.java:105)
        at TestAnt.main(TestAnt.java:7)
Exception in thread "main" java.lang.IllegalArgumentException: build file not
found! /Harvest/pruebas/Xavi/bugant/permisions.xml
        at AntProcess.setBuild(AntProcess.java:79)
        at AntProcess.<init>(AntProcess.java:42)
        at TestAnt.main(TestAnt.java:17)


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

DO NOT REPLY [Bug 44900] Using ant java api: Exec: Nested args are not passed to task

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=44900


Peter Reilly <pe...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED




--- Comment #9 from Peter Reilly <pe...@apache.org>  2008-04-29 03:30:52 PST ---
Hi,
I can reproduce the problem now.

- I need to comment out the second exec (the
  permissions one) as it uses ksh, and it
  it not relevant to the bug.

On ant-1.6.5 things work, on ant-1.7.0 they do not.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

DO NOT REPLY [Bug 44900] Using ant java api: Exec: Nested args are not passed to task

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=44900





--- Comment #8 from Xavi <et...@gmail.com>  2008-04-29 03:15:34 PST ---
Sorry, wrong classpath :( try again with new..

I tested it in windows (with xcopy), and xcopy it's executed without
parameters:

29 abr 2008 12:11:46 [DEBUG] - Target "permision" started
29 abr 2008 12:11:46 [DEBUG] - Task "echo" started
29 abr 2008 12:11:46 [INFO ] - Modify directories permissions testfolder, mask
755
29 abr 2008 12:11:46 [DEBUG] - Task "echo"finished 
29 abr 2008 12:11:46 [DEBUG] - Task "exec" started
29 abr 2008 12:11:46 [DEBUG] - Current OS is Windows XP
29 abr 2008 12:11:46 [DEBUG] - Executing 'xcopy'
The ' characters around the executable and arguments are
not part of the command.
29 abr 2008 12:11:46 [DEBUG] - Execute:Java13CommandLauncher: Executing 'xcopy'
The ' characters around the executable and arguments are
not part of the command.
29 abr 2008 12:11:46 [INFO ] - 0 archivos copiados
29 abr 2008 12:11:46 [INFO ] - NĀ£mero de par metros no v lido
29 abr 2008 12:11:46 [ERROR] - Task "exec" finished with error (null)
29 abr 2008 12:11:46 [ERROR] - Target "permision" finished with error (null)
C:\testcase\permisions.xml:8: exec returned: 4
        at org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:636)
        at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:662)
        at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:487)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

(In reply to comment #6)
> Now I get:
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/apache/tools/ant/launch/AntMain
>         at java.lang.ClassLoader.defineClass1(Native Method)
>         at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
>         at
> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
>         at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
>         at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
>         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:289)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
>         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
>         at org.apache.tools.ant.Project.initProperties(Project.java:308)
>         at org.apache.tools.ant.Project.init(Project.java:295)
>         at AntProcess.execute(AntProcess.java:47)
>         at TestAnt.main(TestAnt.java:26)
> Caused by: java.lang.ClassNotFoundException:
> org.apache.tools.ant.launch.AntMain
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
>         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:289)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
>         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
>         ... 16 more
> 


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

DO NOT REPLY [Bug 44900] Using ant java api: Exec: Nested args are not passed to task

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=44900


Xavi <et...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #21879|0                           |1
        is obsolete|                            |




--- Comment #7 from Xavi <et...@gmail.com>  2008-04-29 03:12:56 PST ---
Created an attachment (id=21880)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=21880)
fixed testcase's classpath


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

DO NOT REPLY [Bug 44900] Using ant java api: Exec: Nested args are not passed to task

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=44900


Xavi <et...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #21877|0                           |1
        is obsolete|                            |




--- Comment #4 from Xavi <et...@gmail.com>  2008-04-29 02:37:54 PST ---
Created an attachment (id=21879)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=21879)
new testcase to make it more self-contained


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

DO NOT REPLY [Bug 44900] Using ant java api: Exec: Nested args are not passed to task

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=44900





--- Comment #5 from Xavi <et...@gmail.com>  2008-04-29 02:40:11 PST ---
(In reply to comment #3)
> It would be better for you to make a new tarball.
> 
> Peter
> 

Hi,

I made a new testcase.
Now it's a zip, it has log4j and commons-logging jars. And location of logs,
task xml and classpath are self-contained.

I kept /usr/bin/sh as it's the default location of sh in aix, please change it
to match your instalation.

hope it's all ok now ;)


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

DO NOT REPLY [Bug 44900] Using ant java api: Exec: Nested args are not passed to task

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=44900





--- Comment #6 from Peter Reilly <pe...@apache.org>  2008-04-29 03:04:25 PST ---
Now I get:
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/tools/ant/launch/AntMain
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
        at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
        at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:289)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
        at org.apache.tools.ant.Project.initProperties(Project.java:308)
        at org.apache.tools.ant.Project.init(Project.java:295)
        at AntProcess.execute(AntProcess.java:47)
        at TestAnt.main(TestAnt.java:26)
Caused by: java.lang.ClassNotFoundException:
org.apache.tools.ant.launch.AntMain
        at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:289)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
        ... 16 more


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.