Ant to compile and deploy one file

2001-08-23 Thread Nusairat, Joseph F.
Title: Ant to compile and deploy one file





Hey if i have one file to update is there an easier way to compile it and re jar it???


I am using ant ... and if i have one i can only seem to recompile them alll which takes some time.


Joseph Faisal Nusairat, Sr. Project Manager
WorldCom
tel: 614-723-4232
pager: 888-452-0399
textmsg: [EMAIL PROTECTED]





RE: Ant to compile and deploy one file

2001-08-23 Thread Juan Lorandi (Chile)
Title: Ant to compile and deploy one file



I have 
ant and it recompiles only modified .java files (only one). Are you using the 
latest ant(I think it's 1.3)?.

  -Original Message-From: Nusairat, Joseph F. 
  [mailto:[EMAIL PROTECTED]]Sent: Jueves, 23 de Agosto de 2001 
  13:35To: Orion-InterestSubject: Ant to compile and 
  deploy one file
  Hey if i have one file to update is there an easier way to 
  compile it and re jar it??? 
  I am using ant ... and if i have one i can only seem to 
  recompile them alll which takes some time. 
  Joseph Faisal Nusairat, Sr. Project Manager WorldCom tel: 614-723-4232 pager: 888-452-0399 textmsg: 
  [EMAIL PROTECTED] 


RE: Ant to compile and deploy one file

2001-08-23 Thread Kevin Duffey
Title: Ant to compile and deploy one file



worked 
with the 1.2 that I used as well. I recall having this problem too. I forget the 
reason. I tried using the tstmp/ as well and that didn't work. What 
should happen is the compiling should only compile classes that have changed. 
Check out your source file-date times and see if they are out of the ordinary. 
Also, you may want to post this to the ANT list..they can probably help you 
better.


  -Original Message-From: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED]]On Behalf Of Juan Lorandi 
  (Chile)Sent: Thursday, August 23, 2001 12:21 PMTo: 
  Orion-InterestSubject: RE: Ant to compile and deploy one 
  file
  I 
  have ant and it recompiles only modified .java files (only one). Are you using 
  the latest ant(I think it's 1.3)?.
  
-Original Message-From: Nusairat, Joseph F. 
[mailto:[EMAIL PROTECTED]]Sent: Jueves, 23 de Agosto de 2001 
13:35To: Orion-InterestSubject: Ant to compile and 
deploy one file
Hey if i have one file to update is there an easier way to 
compile it and re jar it??? 
I am using ant ... and if i have one i can only seem to 
recompile them alll which takes some time. 
Joseph Faisal Nusairat, Sr. Project Manager WorldCom tel: 614-723-4232 pager: 888-452-0399 textmsg: 
[EMAIL PROTECTED] 


RE: Ant to compile and deploy one file

2001-08-23 Thread Nusairat, Joseph F.
Title: Ant to compile and deploy one file



yeah i 
guess it might be ... it stilll seems to take a while though even when i have 
just one file though 

It 
does take longer when everything needs compiled  

Joseph Faisal Nusairat, Sr. Project 
Manager WorldCom tel: 
614-723-4232 pager: 
888-452-0399 textmsg: 
[EMAIL PROTECTED] 

  -Original Message-From: Juan Lorandi (Chile) 
  [mailto:[EMAIL PROTECTED]]Sent: Thursday, August 23, 2001 
  3:21 PMTo: Orion-InterestSubject: RE: Ant to compile and 
  deploy one file
  I 
  have ant and it recompiles only modified .java files (only one). Are you using 
  the latest ant(I think it's 1.3)?.
  
-Original Message-From: Nusairat, Joseph F. 
[mailto:[EMAIL PROTECTED]]Sent: Jueves, 23 de Agosto de 2001 
13:35To: Orion-InterestSubject: Ant to compile and 
deploy one file
Hey if i have one file to update is there an easier way to 
compile it and re jar it??? 
I am using ant ... and if i have one i can only seem to 
recompile them alll which takes some time. 
Joseph Faisal Nusairat, Sr. Project Manager WorldCom tel: 614-723-4232 pager: 888-452-0399 textmsg: 
[EMAIL PROTECTED] 


Re: Ant to compile and deploy one file

2001-08-23 Thread Michael J. Cannon

Ant to compile and deploy one fileYou might want to try VAMP (at
http://www.geocities.com/vamp201/ant.html - caution, GEOCITIES site! -
mousetraps and webbugs!)

Configure (at http://www.dsdelft.nl/~lemval/ant/ - files site only, no web
page)

or CruiseControl (http://cruisecontrol.sourceforge.net/ - this, along with
VAMP later is probably what you need)

or one of the other ANT External and Tasks (at
http://jakarta.apache.org/ant/external.html ) depending on your target
platform and IDE.

CruiseControl works well, has a gradual learning curve and, has the
possibility of integrting with VAMP, AJC or Anakia.  I use it for both small
and large projects and am beginning to port it to the SF environment for
HypersonicSQL/hsqldb for builds.

Also, I believe thee are some articles on this at the Netbeans.org site.

Michael J. Cannon
PM/COO -hsqldb.org, Inc.
Michael J. Cannon
- Original Message -
From: Nusairat, Joseph F.
To: Orion-Interest
Sent: Thursday, August 23, 2001 12:35 PM
Subject: Ant to compile and deploy one file


Hey if i have one file to update is there an easier way to compile it and re
jar it???
I am using ant ... and if i have one i can only seem to recompile them alll
which takes some time.
Joseph Faisal Nusairat, Sr. Project Manager
WorldCom
tel: 614-723-4232
pager: 888-452-0399
textmsg: [EMAIL PROTECTED]





RE: Ant to compile and deploy one file

2001-08-23 Thread Gary Shea

Another possibility might be file location.  If the .java file
containing class Z in package x.y is located in com/x/Z.java, it will
always be recompiled.  If it is located in com/x/y/Z.java, it will
only be re-compiled when there are changes.

Gary

Nusairat, Joseph F. ([EMAIL PROTECTED]) wrote:
 yeah i guess it might be ... it stilll seems to take a while though even
 when i have just one file though 

 It does take longer when everything needs compiled 


 Joseph Faisal Nusairat, Sr. Project Manager
 WorldCom
 tel: 614-723-4232
 pager: 888-452-0399
 textmsg: [EMAIL PROTECTED]

 -Original Message-
 From: Juan Lorandi (Chile) [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, August 23, 2001 3:21 PM
 To: Orion-Interest
 Subject: RE: Ant to compile and deploy one file


 I have ant and it recompiles only modified .java files (only one). Are you
 using the latest ant(I think it's 1.3)?.

 -Original Message-
 From: Nusairat, Joseph F. [mailto:[EMAIL PROTECTED]]
 Sent: Jueves, 23 de Agosto de 2001 13:35
 To: Orion-Interest
 Subject: Ant to compile and deploy one file



 Hey if i have one file to update is there an easier way to compile it and re
 jar it???

 I am using ant ... and if i have one i can only seem to recompile them alll
 which takes some time.

 Joseph Faisal Nusairat, Sr. Project Manager
 WorldCom
 tel: 614-723-4232
 pager: 888-452-0399
 textmsg: [EMAIL PROTECTED]







RE: Ant to compile and deploy one file

2001-08-23 Thread Kesav Kumar
Title: Ant to compile and deploy one file



Its 
all depends how are you writing the build script. If you are touching all 
source files before compilation then ant will compile all the source 
files. I have seen couple of people deleting the source files after 
compilation and copying the sources again next time. In such cases the 
whole compilation happens. Check the build scripts properly. I am 
using ant from 1.2 onwards I have not a single problem with that. It 
always compiles what ever file modified I even gets files from source 
safe. All operations are checked on the time stamps works perfectly 
well.

Kesav Kumar Kolla Voquette Inc 650 356 3740(W) 
510 889 6840(R) VoquetteDelivering Sound Information 

  -Original Message-From: Kevin Duffey 
  [mailto:[EMAIL PROTECTED]]Sent: Friday, August 24, 2001 1:43 
  AMTo: Orion-InterestSubject: RE: Ant to compile and 
  deploy one file
  worked with the 1.2 that I used as well. I recall having this problem 
  too. I forget the reason. I tried using the tstmp/ as well and that 
  didn't work. What should happen is the compiling should only compile classes 
  that have changed. Check out your source file-date times and see if they are 
  out of the ordinary. Also, you may want to post this to the ANT list..they can 
  probably help you better.
  
  
-Original Message-From: 
[EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED]]On Behalf Of Juan 
Lorandi (Chile)Sent: Thursday, August 23, 2001 12:21 
PMTo: Orion-InterestSubject: RE: Ant to compile and 
deploy one file
I 
have ant and it recompiles only modified .java files (only one). Are you 
using the latest ant(I think it's 1.3)?.

  -Original Message-From: Nusairat, Joseph F. 
  [mailto:[EMAIL PROTECTED]]Sent: Jueves, 23 de Agosto de 
  2001 13:35To: Orion-InterestSubject: Ant to compile 
  and deploy one file
  Hey if i have one file to update is there an easier way to 
  compile it and re jar it??? 
  I am using ant ... and if i have one i can only seem to 
  recompile them alll which takes some time. 
  Joseph Faisal Nusairat, Sr. Project Manager 
  WorldCom tel: 614-723-4232 
  pager: 888-452-0399 textmsg: 
  [EMAIL PROTECTED] 



RE: Ant to compile and deploy one file

2001-08-23 Thread Galde, Ben


Check your clean target(s) in the build.xml file. I believe if you delete
your build directory/files it will assume that all the files need to be
recompiled.

-Original Message-
From: Juan Lorandi (Chile) [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 23, 2001 1:21 PM
To: Orion-Interest
Subject: RE: Ant to compile and deploy one file


I have ant and it recompiles only modified .java files (only one). Are you
using the latest ant(I think it's 1.3)?.
-Original Message-
From: Nusairat, Joseph F. [mailto:[EMAIL PROTECTED]]
Sent: Jueves, 23 de Agosto de 2001 13:35
To: Orion-Interest
Subject: Ant to compile and deploy one file


Hey if i have one file to update is there an easier way to compile it and re
jar it??? 
I am using ant ... and if i have one i can only seem to recompile them alll
which takes some time. 
Joseph Faisal Nusairat, Sr. Project Manager 
WorldCom 
tel: 614-723-4232 
pager: 888-452-0399 
textmsg: [EMAIL PROTECTED] 




Re: Ant to compile and deploy one file

2001-08-23 Thread Bill Clinton

Hi Joseph,
This is really a question for the ant-user group, but ant should not 
recompile all files everytime.  This usually happens when your source 
directory structure does not match your package name structure.  For 
example if in your source directory you have:

  com/mycompany/test/mytest.java

and your packagename is actually:

  com.mycompany.newtest

ant will recompile everytime.

Bill

Nusairat, Joseph F. wrote:

 Hey if i have one file to update is there an easier way to compile it 
 and re jar it???
 
 I am using ant ... and if i have one i can only seem to recompile them 
 alll which takes some time.
 
 Joseph Faisal Nusairat, Sr. Project Manager
 WorldCom
 tel: 614-723-4232
 pager: 888-452-0399
 textmsg: [EMAIL PROTECTED]