If you have a project's "local" settings.xml
You can add --settings to have maven-ant-tasks use that for options like
mirror and proxy without using ANT_OPTS or JAVA_OPTS
-Original
If you are using ant 1.8.2 or higher
These work for me
-Original Message-
From: WebServ
try removing the spaces from the PATH
install JDK to the top of your c:\
c:\jdk1.6.0_24
or set JAVA_HOME using short ~ names for path
set JAVA_HOME=c:\progra~1\java\jdk1.6.0_24
-Original Message-
From: xsli2 [mailto:xs...@yahoo.com]
Sent: Monday, April 02, 2012 5:02 PM
To: user@ant.a
Xlint is only valid for newer compilers
if you are concerned that code might be compiled with different JDK versions or
from different vendors
then compilerarg should have the compiler attribute that will signal when javac
should look at the value/line
-Original Message-
From:
another tip, it is not pretty.
in windows when paths have spaces, you can try using windows short names
if you only have 1 dir that starts with "c:\Program"
then the short name for "Program Files" is "progra~1"
set JAVA_HOME="C:/progra~1/Java/jdk.1.6.0_23"
the "dir /x c:\" can give you the sh