jQuery in Action, 3rd edition
The moose likes EJB and other Java EE Technologies and the fly likes The asant tool Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "The asant tool" Watch "The asant tool" New topic

The asant tool

Mahmoud Hadad
Ranch Hand

Joined: Jan 09, 2006
Posts: 67
hi all,
i have a problem with a tool called asant that is located in the Sun Application Server installation directory.
when i start the asant tool to compile a web module it just don't show anything neither Build Failed or anything else,anyone knows what's wrong?
Colin Handy

Joined: Jan 13, 2006
Posts: 6
Does it find the tool? When you install the application server, your path should be updated to include the AppServer/bin directory, which is where asant resides. asant then reads the build.xml file, which must exist in your working directory, invoking the target you specified in your asant command.
Mahmoud Hadad
Ranch Hand

Joined: Jan 09, 2006
Posts: 67
yes it do run(the asant tool) and write to the output Build File:build.xml,
don't know i have set a J2EE_HOME(\Sun\Creator\Sun Application Server ,JAVA_HOME(JDK1.5 directory),CLASSPATH(J2EE_Home\lib ,PATH(J2EE_HOME\bin environment variables to the directories mentioned above.
The asant tool runs fine and prints to the output Build File:build.xml it does not print anything further it just stops here(nothing more to the output except Build File:build.xml)
i have run it with this parameter:
asant create-war inside my web module directory.don't know what's wrong?
Mahmoud Hadad
Ranch Hand

Joined: Jan 09, 2006
Posts: 67
This is the contents of build.properties file :







samplesdb.url=jdbc ointbase:server://${db.host}:${db.port}/${db.sid}


ase.jdbc.jdbcDataSourcedb.jvmargs=-ms16m -mx32m

when i used the asant tool with the parameter -verbose the last line in the shell window was [property] Loading d:\j2eetutorial14\examples\web\hello1\build.properties

i have set my CLASSPATH and J2EE_HOME in the system variables and set the password in the admin-password.txt file so what's wrong ?
I agree. Here's the link: http://aspose.com/file-tools
subject: The asant tool
It's not a secret anymore!