ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Cepek" <mce...@smsi.com>
Subject Usage/projecthelp failing
Date Fri, 19 Jul 2002 15:27:32 GMT
Dominique Devienne <DDevienne@lgc.com> wrote:

> ... to get an help or using target to use the
> built-in -project of Ant (which seems to be the
> ultimate goal here), simply do (as posted a few
> weeks ago, with output for Ant 1.4.1 and 1.5beta):
>
>  <target name="usage">
>    <java classname="org.apache.tools.ant.Main">
>      <arg value="-projecthelp" />
>      <arg value="-buildfile" />
>      <arg value="${ant.file}" />
>    </java>
>  </target>

I tried exactly this (cut-n-paste).  It runs (and is MUCH faster), but
ends with this Ant output:

org.netbeans.core.execution.ExitSecurityException
        at
org.netbeans.core.execution.TopSecurityManager.checkExitImpl(TopSecurity
Manager.java:95)
        at
org.netbeans.core.execution.TopSecurityManager$PrivilegedCheck.run(TopSe
curityManager.java:458)
        at java.security.AccessController.doPrivileged(Native Method)
        at
org.netbeans.core.execution.TopSecurityManager$PrivilegedCheck.check(Top
SecurityManager.java:483)
        at
org.netbeans.core.execution.TopSecurityManager$PrivilegedCheck.checkExit
(TopSecurityManager.java:471)
        at
org.netbeans.core.execution.TopSecurityManager.checkExit(TopSecurityMana
ger.java:78)
        at java.lang.Runtime.exit(Runtime.java:91)
        at java.lang.System.exit(System.java:701)
        at org.apache.tools.ant.Main.start(Main.java:162)
        at org.apache.tools.ant.Main.main(Main.java:176)
        at java.lang.reflect.Method.invoke(Native Method)
        at
org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java:124)
        at org.apache.tools.ant.taskdefs.Java.run(Java.java:305)
        at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:127)
        at org.apache.tools.ant.taskdefs.Java.execute(Java.java:88)
        at org.apache.tools.ant.Task.perform(Task.java:217)
        at org.apache.tools.ant.Target.execute(Target.java:184)
        at org.apache.tools.ant.Target.performTasks(Target.java:202)
        at org.apache.tools.ant.Project.executeTarget(Project.java:601)
        at org.apache.tools.ant.Project.executeTargets(Project.java:560)
        at
org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:2
77)
        at
org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:118)
BUILD FAILED

Any ideas what this is all about?

I tried to find the original thread mentioned by Dominique, in the hopes
of finding this problem solved, but couldn't spot it.

Thanks.


--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message