Re: consistent directory structure

2001-02-08 Thread Stefan Bodewig
Bill Brooks <[EMAIL PROTECTED]> wrote: > Some of these versions of ant have been modified from the stock ant > that you download in order to meet the needs of specific > projects. For example, the ant that comes with the fop source distro > includes a fop task that isn't a standard Ant task. But

Re: is it possible...

2001-02-08 Thread Stefan Bodewig
james terry <[EMAIL PROTECTED]> wrote: > to do this w/Ant? > >$ cd >$ for i in `find . -print` ; do >$ rm /$i >$ done > Take a look at the new task in 1.3. I don't think you can do what you need out of the box (as it insists on having the source file on the command line) but it should be pos

Re: consistent directory structure

2001-02-08 Thread Peter Donald
At 09:26 8/2/01 -0800, you wrote: >- Original Message - >From: "Peter Donald" <[EMAIL PROTECTED]> >> ancient tomcat derived ant, others use CVS snapshots etc. It is going to >> get worse in the future as the original inventor of Ant has forked of his >> own incompatable version that he i

Re: consistent directory structure

2001-02-08 Thread Martin Cooper
- Original Message - From: "Peter Donald" <[EMAIL PROTECTED]> > ancient tomcat derived ant, others use CVS snapshots etc. It is going to > get worse in the future as the original inventor of Ant has forked of his > own incompatable version that he intends to compete with Apache Ant. Uh,

Re: + other classes + WLS60

2001-02-08 Thread One Way
Never mind. It's fine. __ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail - only $35 a year! http://personal.mail.yahoo.com/

Re: consistent directory structure

2001-02-08 Thread Bill Brooks
On Thu, 8 Feb 2001, Richard Hensh wrote: > Perhaps this question belongs in another newsgroup but I pose it here since > it might be of some interest. > > [...] > On a related issue, a routine search for ant*.jar indicated that I have 6 > copies of various versions of this file (one each for fop

Re: consistent directory structure

2001-02-08 Thread Peter Donald
At 10:27 8/2/01 -0500, Richard Hensh wrote: >Perhaps this question belongs in another newsgroup but I pose it here since >it might be of some interest. definetly ;) >I've downloaded several of the packages from the Jakarta Project (and >xml.apache.org) and have been dismayed to discover the abs

RE: consistent directory structure

2001-02-08 Thread Conor MacNeill
Richard, This is a topic which has been actively discussed on the Ant-Dev mailing list. As an example checkout this thread http://marc.theaimsgroup.com/?t=9749802721&w=2&r=1 There is the start of an initiative, CJAN, which may address some of this (the jars part). Anyway, my advice would t

consistent directory structure

2001-02-08 Thread Richard Hensh
Perhaps this question belongs in another newsgroup but I pose it here since it might be of some interest. I've downloaded several of the packages from the Jakarta Project (and xml.apache.org) and have been dismayed to discover the absence of a consistent directory structure. For example, ECS stor

RE: fileset definition help...

2001-02-08 Thread Tim Vernum
> Hello, > > how can i use ant to remove a subset of files from a directory where > the definition of that subset is the contents of a different > directory? > > from the shell, it would be something like: > > > cd dir1 > > for i in `find . -print` ; do > rm dir2/$i > done Two ideas spring t

Re: Can someone tell me what is so great about Ant?

2001-02-08 Thread Matt Boersma
On Tuesday 06 February 2001 16:48, Tim wrote: > GNUmake is faster on my celeron than ant is on my PIII. And our experience is counter to yours--we were using GNU make on Linux and Windows NT (via Cygwin and MKS Toolkit), and having switched to ANT 1.2, find builds to take about 1/5 the time.

is it possible...

2001-02-08 Thread james terry
to do this w/Ant? $ cd $ for i in `find . -print` ; do $ rm /$i $ done thanks, [EMAIL PROTECTED]

Re: Problems with ZIP file: can't unzip Xalan distro created with Ant 1.2-versions

2001-02-08 Thread Shane_Curcuru
Sorry, my bad. Specific versions of software for the below problem are: Xalan .zip distros were created with: Ant version 1.2rc2 compiled on October 19 2000 WinNT 4.0 SP5/SP6 systems java version "1.2.2" Classic VM (build JDK-1.2.2-W, native threads, symcjit) Zip programs that do not work

RE: 1.3 beta and forking java

2001-02-08 Thread Mike Pedersen
Conor, the debug log was almost two megs so I decided not to spam the list with it.  I updated to last nights alpha and things are working again.  It's interesting that the Java task gave no output other than the "-1".  At 12:13 PM 2/8/2001 +1100, you wrote: Mike, Can you use ant -debug and save

Re: task question

2001-02-08 Thread Cameron Fieber
I figured out my problem. In the task, I was not using an include to filter out a specific XML deployment descriptor for the JAR since I thought if I followed the naming convention of BaseJarName-ejb-jar.xml it would just use that. Adding a specific include fixed my problem. I do, however,

Re: Problems with ZIP file: can't unzip Xalan distro created with Ant 1.2

2001-02-08 Thread dale+tomcat
I've had this problem before when just using jar to create zip files. Have a look at: http://developer.java.sun.com/developer/bugParade/bugs/4306807.html http://developer.java.sun.com/developer/bugParade/bugs/4412571.html The first is an old bug with 1.1.6 but the eval says it's been verified ag

Re: + other classes + WLS60

2001-02-08 Thread One Way
Can you give a quick example(S) of possible use? Thanks __ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail - only $35 a year! http://personal.mail.yahoo.com/

Re: How does ant tasks get garbage collected.

2001-02-08 Thread dale+tomcat
The JVM also does not call finalize when it is exiting. thanks, - Dale On Thu, Feb 08, 2001 at 12:43:48PM +0100, Nico Seessle wrote: > - Original Message - > From: "Jeremy Roedde" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Wednesday, February 07, 2001 5:08 PM > Subject: Q: Ho

task question

2001-02-08 Thread Cameron Fieber
Greetings, I have just started using Ant, and am trying to set up a build environment for our EJB development. I have each EJB building as a separate target, but when I run the task, I get a number of messages that "[ejbjar] Could not load class for super class check". The reason this

weblogic ejbjar creation failure

2001-02-08 Thread M.A.Dunphy
Hi all, This is a strange one. I've created an ant build.xml file for a sampleapp. All was working OK. Now all of a sudden, the weblogic ebjc tool fails to overwrite the existing ejbjar file as seen below. Has anybody else seen this problem and what is the solution. I've a hunch is an environment

javac and patterns/filesets

2001-02-08 Thread Ross Lloyd
Is there any way I can create patternsets and then use them to create exclusion lists for javac compilations. ie I have a source tree and two components of a project which I may need to rebuild independently. There are common components which points at creating a common.jar and then compiling

Hi,

2001-02-08 Thread Ross Lloyd
Hi, Is there any way I can create patternsets and then use them to create exclusion lists for javac compilations. ie I have a source tree and two components of a project which I may need to rebuild independently. There are common components which points at creating a common.jar and then comp

Pattern Set

2001-02-08 Thread Ross Lloyd
Hi, Is there any way I can create patternsets and then use them to create exclusion lists for javac compilations. ie I have a source tree and two components of a project which I may need to rebuild independently. There are common components which points at creating a common.jar and then comp

RE: 1.3 beta and forking java

2001-02-08 Thread George McKInney
> -Original Message- > From: Mike Pedersen [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, February 07, 2001 4:58 PM > To: [EMAIL PROTECTED] > Subject: 1.3 beta and forking java > > BUILD FAILED > > /private/private2/javabuild/newbuild/marlin/marlin.xml:47: > Java returned: -1 > We had a

Re: Problems with ZIP file: can't unzip Xalan distro created with Ant 1.2

2001-02-08 Thread Glenn McAllister
[EMAIL PROTECTED] wrote: > /xml-xalan/java/build.xml > includes="${dist.file}/**"/> > > ..but users of a few particular zip programs can't unzip the files produced > by this - they either get an error, or a directory tree full of 0-byte > files. Known unzip programs with problems i

CVS task

2001-02-08 Thread Jörg Connotte
Hi all, can anybody tell me how to avoid to type in the password manually when using the cvs login command inside of ant. I want to access the repository as an anonymous user -- Jörg Connotte email: [EMAIL PROTECTED]

Re: bootstrapping ant

2001-02-08 Thread Conor MacNeill
Paul, Which version of the source did you download? I suggest you try the Ant 1.3 Beta and give us any feedback against that. This release has better cygwin support. You could try bootstrap.bat to see if it is a more general problem than just a Cygwin issue. The dist below is the target in the a

bootstrapping ant

2001-02-08 Thread Paul Locke
  Hi, I downloaded the source for ant but am unable to successfully perform bootstrap --- which pretty much stops me in my tracks.   My platform is W2K and I'm using cygnus bash shell to invoke the bootstrap script. I'm getting some nasty errors during the java compilation --- possibly due t

Re: Does a JBoss nested task exist for the ejbjar task?

2001-02-08 Thread Conor MacNeill
Kevin, From: "Wood, Kevin" <[EMAIL PROTECTED]> > Hi, > > We are using JBoss as our development EJB server and would like to generate > EJB jar files for JBoss using the ejbjar task. We would like to include the > JBoss-specific deployment description (jboss.xml) in the JAR file, but > ejbjar doe

Re: + other classes + WLS60

2001-02-08 Thread Conor MacNeill
One, From: "One Way" <[EMAIL PROTECTED]> > > 1) Is there a way to include other/helper/utility classes into the JAR? > 2) Any news on WLS60 support in ant? > > Thanks in advance In Ant 1.3, ejbjar includes a element allowing you to define a fileset of files to be included in ALL jars produced b

Re: Problems with ZIP file: can't unzip Xalan distro created with Ant 1.2

2001-02-08 Thread Nico Seessle
- Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, February 07, 2001 7:50 PM Subject: Re: Problems with ZIP file: can't unzip Xalan distro created with Ant 1.2 > ant-user denizens: any clues? (please cc: me directly as I'm not cur

Re: How does ant tasks get garbage collected.

2001-02-08 Thread Nico Seessle
- Original Message - From: "Jeremy Roedde" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, February 07, 2001 5:08 PM Subject: Q: How does ant tasks get garbage collected. > I am calling ant from a java program by doing the following; > > org.apache.tools.ant.Main.main(new St

When to compile or not to compile that is the question?

2001-02-08 Thread Michael Dunphy
Hi all, As I'm new to ant/java, could somebody help explain why when I run a task in ant, the .java files always get compiled even if they are not edited/changed since the last time the .class file was created? Thanks Mick **

Re: Problems with ZIP file: can't unzip Xalan distro created with Ant 1.2

2001-02-08 Thread Shane_Curcuru
OK, I'm cross-posting cause this question has been bugging me for a while, and I think the answer is within Ant. ant-user denizens: any clues? (please cc: me directly as I'm not currently on ant-user; I'll summarize for xalan-dev as needed). We occasionally get users complaining that they can't u

Q: How does ant tasks get garbage collected.

2001-02-08 Thread Jeremy Roedde
I am calling ant from a java program by doing the following; org.apache.tools.ant.Main.main(new String[]{"-buildfile","build.xml"}); It seems that tasks are not garbage collected (a finalize method in a task never gets called). Does anyone know a good way around this without modifying ant code?

junit task DTD definition

2001-02-08 Thread Michael Dunphy
Sorry guys, After looking at this further, I realised I forgot to download the optional.jar!! Thanks Mick ** Privileged/Confidential Information may be contained in this message. If you are not the addressee indicated in t

fileset definition help...

2001-02-08 Thread james terry
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, how can i use ant to remove a subset of files from a directory where the definition of that subset is the contents of a different directory? from the shell, it would be something like: cd dir1 for i in `find . -print` ; do rm dir2/$i done

+ other classes + WLS60

2001-02-08 Thread One Way
Hi, 1) Is there a way to include other/helper/utility classes into the JAR? 2) Any news on WLS60 support in ant? Thanks in advance __ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail - only $35 a year! http://personal.mail.yahoo.

Re: When to compile or not to compile that is the question?

2001-02-08 Thread Diane Holt
--- "M.A.Dunphy" <[EMAIL PROTECTED]> wrote: > As I'm new to ant/java, could somebody help explain why when I run a > task in ant, the .java files always get compiled even if they are not > edited/changed since the last time the .class file was created? It's most likely due to how you're pointing

Re: Multiple classes in a single file (was: Re: Can someone tell me what is so great about Ant?)

2001-02-08 Thread Frank Endriss
"Richard S. Hall" wrote: > > Frank Endriss wrote: > > > Given these facts, why not make those classes inner classes of class Foo > > ? > > If you would, everything would work, and from view of OO design it would > > be "nicer". > > I think this is a matter of subjective opinion. What did you d

When to compile or not to compile that is the question?

2001-02-08 Thread M.A.Dunphy
Hi all, As I'm new to ant/java, could somebody help explain why when I run a task in ant, the .java files always get compiled even if they are not edited/changed since the last time the .class file was created? Thanks Mick