You don't need to copy ant
Build.xml is the ant "commands" for your project, so if you don't have
that file you can't use ant
If it's not in that directory, you're either not working in the correct
directory for the project or there's something wrong with your project
P please consider the environment - do you really need to print this
email?
________________________________
From: Eve Pokua [mailto:gorgeous65_at_msn.com]
Sent: Sunday, October 11, 2009 8:26 PM
To: glassfish users GFusers
Subject: RE: build and clean xml
Sigal
So to use ant, I've to copy the ant directory to the root of my
project? I thought I've to add ant home to my environmental
variables. In the command line- get to my project directory ant call
ant.
And it should do the job?
regards
eve
________________________________
Date: Sun, 11 Oct 2009 14:54:56 +0200
From: Sigal.Shaharabani_at_Teledata-Networks.com
To: users_at_glassfish.dev.java.net
Subject: RE: RE: build and clean xml
I don't follow your explanation
I clean, build and deploy from command line whenever I want to
Did you make sure you have the ant files for the project your compiling
in the directory where you executed the command? Because the error is:
C:\javaapp\ENTERPRISE>ant build
Buildfile: build.xml does not exist!
Build failed
P please consider the environment - do you really need to print this
email?
________________________________
From: Eve Pokua [mailto:gorgeous65_at_msn.com]
Sent: Sunday, October 11, 2009 11:56 AM
To: glassfish users GFusers
Subject: RE: build and clean xml
Hi,
Ant_home in my environmental variables together with other
java settings such as JEE-home and java-home is all set. That is
why ant reports the below error. I build, clean and deploy my
application
within netbeans but when I copy to files to other PC's I get some
errors which I will post for your convenience tomorrow. So that's why
I have to find other means to clean and build and deploy my application
on other PCs. I have read about the error googleing and it seems I have
to change some settings for my build.xml and build_impl.xml which the
ant uses to clean, build and deploy my application. I will post of this
tommorow.
Thanking you
eve
________________________________
Date: Sun, 11 Oct 2009 10:31:01 +0200
From: Sigal.Shaharabani_at_Teledata-Networks.com
To: users_at_glassfish.dev.java.net
Subject: RE: build and clean xml
Are you sure you have the ant files in that directory?
P please consider the environment - do you really need to print this
email?
________________________________
From: Eve Pokua [mailto:gorgeous65_at_msn.com]
Sent: Wednesday, October 07, 2009 5:16 PM
To: glassfish users GFusers
Subject: RE: build and clean xml
Hello,
Ant
C:\glassfishv3\ant\bin;
C:\glassfishv3\ant;
is added to my path and I thought it should work but I get the following
error:
C:\javaapp\ENTERPRISE>ant build
Buildfile: build.xml does not exist!
Build failed
C:\javaapp\ENTERPRISE>ant
Buildfile: build.xml does not exist!
Build failed
C:\java\ENTERPRISE>asadmin clean
Unknown command: clean
Command clean failed.
C:\javaapp\ENTERPRISE>asadmin build
Unknown command: build
Command build failed.
C:\javaapp\ENTERPRISE>ant deploy
Buildfile: build.xml does not exist!
Build failed
C:\javaapp\ENTERPRISE>ant
Buildfile: build.xml does not exist!
Build failed
C:\javaapp\ENTERPRISE>ant
Buildfile: build.xml does not exist!
Build failed
C:\javaapp\ENTERPRISE>
________________________________
From: gorgeous65_at_msn.com
To: users_at_glassfish.dev.java.net
Date: Wed, 7 Oct 2009 14:13:22 +0100
Subject: build and clean xml
Hello everyone,
I am having to clean and build, deploy and ran my applications
without having to use netbeans. Is there any website
refering to this so I can learn to build my own build.xml or
should I just copy the build.xml and the dir bp-project that
comes with the tutorial?
Thanking you in advance
eve
________________________________
View your other email accounts from your Hotmail inbox. Add them now.
<
http://clk.atdmt.com/UKM/go/167688463/direct/01/>
________________________________
View your other email accounts from your Hotmail inbox. Add them now.
<
http://clk.atdmt.com/UKM/go/167688463/direct/01/>
________________________________
New! Receive and respond to mail from other email accounts from within
Hotmail Find out how. <
http://clk.atdmt.com/UKM/go/167688463/direct/01/>
________________________________
Use Hotmail to send and receive mail from your different email accounts.
Find out how. <
http://clk.atdmt.com/UKM/go/167688463/direct/01/>