Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / July 2006

Tip: Looking for answers? Try searching our database.

ant from command line returns java help syntax?

Thread view: 
Burt - 13 Jul 2006 23:21 GMT
I'm an ant/java newbie trying to set up a java based web service for a
third party app (BusinessObjects). Tracing through the .bat files and
installation guide, looks like ant is the problem. When I type

ant -version

or anything starting with ant in a command window I get the java syntax
help. My JAVA_HOME, ANT_HOME and path variables are set correctly. Any
idea what might cause such behavior?

Thanks,

Burt
vahan - 14 Jul 2006 08:48 GMT
If you start ant with ant.bat, and to turn derective "@echo off" to
"@echo on"  in top of ant.bat , you can see all out put of this file.
You can see also following line in this:

"java.exe"  -classpath "C:\Borland\JBuilder20
06\thirdparty\ant\bin\..\lib\ant-launcher.jar"
"-Dant.home=C:\Borland\JBuilder20
06\thirdparty\ant\bin\.." org.apache.tools.ant.launch.Launcher
This main act to call JVM and ant launcher, you have something wrong in
this lines.

> I'm an ant/java newbie trying to set up a java based web service for a
> third party app (BusinessObjects). Tracing through the .bat files and
[quoted text clipped - 9 lines]
>
> Burt


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.