Question about deprecation

2005-08-12 Thread Bob Smith
Hi, I'm new to the mailing list, and have a question about compiling deprecated classes. Is it possible, when compiling with Ant, to arrange the compilation so that deprecated classes are not ignored during the build? >From what I've read, the Java compiler will ignore deprecated classes when co

RE: Ant dependencies task

2005-08-12 Thread Dick, Brian E.
Another thing that may work is converting your get_dependencies target to a macrodef. -Original Message- From: Dick, Brian E. Sent: Friday, August 12, 2005 3:19 PM To: Ant Users List Subject: RE: Ant dependencies task You can recode as -

RE: Ant dependencies task

2005-08-12 Thread Dick, Brian E.
You can recode as -Original Message- From: Frank W. Zammetti [mailto:[EMAIL PROTECTED] Sent: Friday, August 12, 2005 2:54 PM To: user@ant.apache.org Subject: Ant dependencies task Does anyone have any experience with this add-on? http://

RE: Ant dependencies task

2005-08-12 Thread Burgess, Benjamin
A series of antcalls is not an alternative to using the depends attribute. These are 2 different things. The depends attribute is used to determine the order in which targets should run within a project. An antcall is used to create a new project that uses the same build file. A new project obje

Ant dependencies task

2005-08-12 Thread Frank W. Zammetti
Does anyone have any experience with this add-on? http://www.httpunit.org/doc/dependencies.html It works great for me, but one problem I have is that my build scripts usually have a single "build" target with a bunch of antcalls to other targets in it. I have the following target which is execut

Deploying to WebLogic with Ant under Eclipse

2005-08-12 Thread Yaakov Chaikin
Hi, I've asked this on one of the Eclipse newsgroup, but didn't really get an answer, so I am hoping someone on this list will be able to figure this out. I have an Ant script that deploys a web app to WebLogic 8.1sp4. If I run this Ant script from the command line, everything deploys just fine.

Re: AW: Call Ant task from java file

2005-08-12 Thread graste
Am Fri, 12 Aug 2005 15:51:37 +0200 schrieb <[EMAIL PROTECTED]>: And you´re trying to catch files (include="**/CVS/") without touching the default excludes... Thanks. Default excludes were an issue. I could successfully run my plugin and the ant task from it to delete files. But I wonder:

AW: Call Ant task from java file

2005-08-12 Thread Jan.Materne
And you´re trying to catch files (include="**/CVS/") without touching the default excludes... Jan >-Ursprüngliche Nachricht- >Von: Rüegsegger Martin [mailto:[EMAIL PROTECTED] >Gesendet: Freitag, 12. August 2005 15:50 >An: Ant Users List; [EMAIL PROTECTED] >Betreff: AW: Call Ant task fro

AW: Call Ant task from java file

2005-08-12 Thread Rüegsegger Martin
Hi Steffen "First question: What am I doing wrong?" You didn't specify, what's going wrong, when you run your code. I recommend writing an Ant task first and then use it outside of a build.xml instead of using ant classes directly. Here's an example: ... Project project = new Project(); pro

Call Ant task from java file

2005-08-12 Thread graste
Hi, I'm new to ant tasks and their use outside of ant. I want to execute ent tasks outside of build.xml in a simple java class. My sample source code (inside a public static method of a plugin): -- // project Project project = new Project(); project.init(); // fileset FileSet fs = new

Re: Scp : Definition of a remote file set

2005-08-12 Thread Nicolas Vervelle
Here is an example of executing several commands with : password="${ssh.password}" trust="yes" failonerror="true" command="cd /home/groups/j/jm/jmol/htdocs/; tar zxvf upload.tgz; rm upload.tgz"> Complete build file can be found at: http://cvs.sourceforge.net/viewcvs.py/jmol/Jmol-web/build-de

RE: Scp : Definition of a remote file set

2005-08-12 Thread duvelbier-tsmets
Is there a way to write soemthing like this ? cd /home/${usr}/src/${application-module}; tar cf stuff.tar.gz ./jython/Util.py ./jython/Common*.py ./jython/Parameters.py ./jython/Main.py ./jython/Constants.py or even better : cd /home/${usr}/src/${application-module}; tar cf stu