ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Weintraub" <qazw...@gmail.com>
Subject Re: Problems with ANT in WINDOWS :(
Date Mon, 04 Feb 2008 20:56:30 GMT
Looks like you have spaces in your -lib:

-C:\Archivos de programa\Java\jre1.6.0_02\lib\ext

Ant sees the -lib ending at "C:\Archivos" and "de" as your target.

Your best bet is to install Java in a directory with no spaces in it.
Something like "C:\Java".

On Feb 4, 2008 1:38 AM, Armin Garcia <saintarmin@gmail.com> wrote:
> hi there i have problems with ANT on windows...
>
> i download and try to use the apache-ant-1.7.0 and apache-ant-1.6.5
> I configured the system variables
>
> set ANT_HOME=c:\ant
> set JAVA_HOME=c:\jdk-1.5.0.05
> set PATH=%PATH%;%ANT_HOME%\bin
>
> the problem is when i try tu run ant by this way
>
> ant -version or ant or some command for ant, i dont do anything
>
> but when i try to use ant with EJBCA i recive this message
>
>
> C:\ejbca_3_5_3> "C:\Documents and Settings\Dark Knight\Mis
> documentos\Software\J
> ava\apache-ant-1.6.5\bin\runant.pl"
>  java -classpath C:\APACHE~1.0/lib/ant-launcher.jar -Dant.home=C:\APACHE~1.0org
> .apache.tools.ant.launch.Launcher -lib .;"C:\Archivos de
> programa\Java\j2re1.4.2
> _01\lib\ext\QTJava.zip";C:\Archivos de
> programa\Java\jre1.6.0_02\bin;C:\Sun\SDK\
> jdk\jre\bin;C:\Sun\SDK\jdk\jre\lib\ext;C:\Sun\SDK\jdk\bin;C:\Archivos de
> program
> a\Java\jre1.6.0_02\lib\ext\QTJava.zip;C:\Archivos de
> programa\Java\jre1.6.0_02\l
> ib\ext;C:\Sun\SDK\jdk\bin;C:\Sun\SDK\jdk\lib
> Buildfile: build.xml
>      [echo] Merging available external modifications from C:\ejbca-custom.
>      [copy] Warning: C:\ejbca-custom not found.
> Trying to override old definition of task apt
> BUILD FAILED
> Target "de" does not exist in the project "ejbca".
> Total time: 8 seconds
>
>
> MMM somebody knows what im doing wrong, or wht i need to do for solve this
> problem....
>
> thanks for all
>



-- 
--
David Weintraub
qazwart@gmail.com

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


Mime
View raw message