| Author |
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
Greenhorn
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 : j2ee.home=C:\\Sun\\Creator2 \\SunAppServer8j2ee.tutorial.home=d:\\j2eetutorial14sunone.home=${j2ee. home} admin.password.file=${j2ee.tutorial.home}/examples/common/admin- assword.txt admin.host=localhostadmin.user=adminadmin.port=14848 https.port=18181domain.resources="domain.resources"domain.resources.por t=1880db.root=${j2ee.home}/pointbasedb.driver=com.pointbase.jdbc.jdbcUn iversalDriverdb.host=localhostdb.port=19092db.sid=sun-appserv- samplesdb.url=jdbc ointbase:server://${db.host}:${db.port}/${db.sid} db.user=pbpublicdb.pwd=pbpublicurl.prop=DatabaseNameds.class=com.pointb 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 ?
|
 |
 |
|
|
subject: The asant tool
|
|
|