ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Baz" <ba...@goodconsultants.com>
Subject Re: ant -k and -D flags together will not work?
Date Fri, 23 Jan 2004 05:24:35 GMT
Alexey and all,

I was using almost not modified tomcat build.xml.

compile:
    [javac] Compiling 51 source files to
C:\cygwin\home\barry\magnesium\src\serv
er\src\java\pS\build\WEB-INF\classes
    [javac] C:\cygwin\home\barry\magnesium\src\server\src\java\pS\src\
com\es\demo\bo\impl\R.java:25: com.es.demo.bo.impl.R is not abstract and d
oes not override abstract method getNamexxx() in com.es.demo.bo.IRule
    [javac] public class Rule implements IRule {
    [javac]        ^
    [javac] Note: C:\cygwin\home\barry\magnesium\src\server\src\java\pS
\src\com\es\jsp_utils\Request.java uses or overrides a depreca
ted API.
    [javac] Note: Recompile with -deprecation for details.
    [javac] 1 error
Target 'compile' failed with message 'Compile failed; see the compiler error
out
put for details.'.
Cannot execute 'javadoc' - 'compile' failed or was not executed.
Cannot execute 'dist' - 'compile' failed or was not executed.
Cannot execute 'all' - 'javadoc' failed or was not executed.

BUILD FAILED
C:\cygwin\home\barry\magnesium\src\server\src\java\pS\build.xml:297: C
ompile failed; see the compiler error output for details.

Any ideas why? Thanks.

B.

----- Original Message ----- 
From: "Alexey N. Solofnenko" <A.Solofnenko@mdl.com>
To: "Ant Users List" <user@ant.apache.org>
Sent: Thursday, January 22, 2004 5:34 PM
Subject: Re: ant -k and -D flags together will not work?


> Hello Barry,
>
>   I just tried "ant  -k -DTEST=0 init" and it worked fine. What command
> did you execute?
>
> - Alexey.
>
> barry@goodconsultants.com wrote:
>
> >All,
> >
> >I am trying to avoid build stopping by using "-k" on top of the original
ant
> >command, "ant -DBUILDNUMBER=123 targetA" but it does not work?
> >
> >Why? What should be the correct syntax?
> >
> >Thanks
> >
> >Barry
> >
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> >For additional commands, e-mail: user-help@ant.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>



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


Mime
View raw message