Hi All
We tried setting JAVA options using -Xlint with IBM java SDK 6 in the Ant
build step but we're getting error.
In the JAVA options box we put -Xlint and error shows below; we also tried
-Xlint:deprecation and Xlint - all didn't work.
What are we doing wrong ?
*22:21:42* [USER] $ /user/hudson.tasks.Ant_AntInstallation/Ant_1.8.2/bin/ant
-file build.xml*22:21:42* JVMJ9VM007E Command-line option unrecognised:
-Xlint*22:21:42* Could not create the Java virtual machine.*22:21:42*
*22:21:42* Usage: java [-options] class [args...]*22:21:42* (to
execute a class)*22:21:42* or java [-jar] [-options] jarfile
[args...]*22:21:42* (to execute a jar file)*22:21:42* *22:21:42*
where options include:*22:21:42* -cp -classpath <directories and zip/jar
files separated by :>*22:21:42* set search path for application
classes and resources*22:21:42* -D<name>=<value>*22:21:42*
set a system property*22:21:42* -verbose[:class|gc|jni]*22:21:42*
enable verbose output*22:21:42* -version print product
version*22:21:42* -version:<value>*22:21:42* require the specified
version to run*22:21:42* -showversion print product version and
continue*22:21:42* -jre-restrict-search | -no-jre-restrict-search*22:21:42*
include/exclude user private JREs in the version search*22:21:42*
-agentlib:<libname>[=<options>]*22:21:42* load native agent
library <libname>, e.g. -agentlib:hprof*22:21:42* see also,
-agentlib:jdwp=help and -agentlib:hprof=help*22:21:42*
-agentpath:<pathname>[=<options>]*22:21:42* load native agent
library by full pathname*22:21:42*
-javaagent:<jarpath>[=<options>]*22:21:42* load Java programming
language agent, see java.lang.instrument*22:21:42* -? -help print this
help message*22:21:42* -X print help on non-standard
options*22:21:42* -splash:<imagepath> show splash screen with specified
image*22:21:42* -ea[:<packagename>...|:<classname>]*22:21:42*
-enableassertions[:<packagename>...|:<classname>]*22:21:42*
enable assertions*22:21:42* -da[:<packagename>...|:<classname>]*22:21:42*
-disableassertions[:<packagename>...|:<classname>]*22:21:42*
disable assertions*22:21:42* -esa | -enablesystemassertions*22:21:42*
enable system assertions*22:21:42* -dsa |
-disablesystemassertions*22:21:42* disable system assertions
--
You received this message because you are subscribed to the Google Groups
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.