Ant 1.6 and Middlegen interaction problem

2002-12-17 Thread audacious
Hello, I have notice a problem with the newer versions of Ant, post 1.5.1. When I run Middlegen with these newer versions I get an error message: BUILD FAILED file:///F:/JavaPrograms/middlegen-2.0-b1/lrpottery/build.xml:296: Can't create a packageSubstitution element under ejbdoclet. Make sure

Ant 1.6 and Middlegen interaction problem

2002-12-17 Thread George_Schlitz
Return Receipt Your Ant 1.6 and Middlegen interaction problem document :

Re: Ant 1.6 and Middlegen interaction problem

2002-12-17 Thread Erik Hatcher
This is likely to be caused by the recent changes that affect how case was treated for element names. A fix is probably in the works, or perhaps a reversion to the previous code that affected this. Erik audacious wrote: Hello, I have notice a problem with the newer versions of Ant, post

Re: Problem with ClassFileSet

2002-12-17 Thread Vilya Harvey
See inline comments below. Hope they help... Vil. - Original Message - From: Aaron Kelley [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, December 17, 2002 2:09 AM Subject: Problem with ClassFileSet I still cannot get the ClassFileSet to work. I am most likely doing something

Changing directory calling a target

2002-12-17 Thread Pascal_Rapicault
Hello, I'm new to Ant, so please excuse me for this basic question. I have a target A that calls a target B (A and B are in the same file), and whereas the target A executes into the directory FOO, I'd like the target B to be executed into the directory BAR. I tried to override the basedir

RE: Problem with ClassFileSet

2002-12-17 Thread Aaron Kelley
Actually, I originally tried it without the includes. I only had them in this example because I was trying to be thorough. I have tried the includes on each set and every combination and always the same results. The ClassFileSet extends from FileSet and includes only *.class by default. So it

ClassFileSet method of loading classes

2002-12-17 Thread Aaron Kelley
Does anyone know how the ClassFileSet determines a dependency? I still cannot get the ClassFileSet to work, so maybe it does not work how I think it should. I am not instantiating my classes directly. Instead I have a factory that will return an instance, given the class of the Object. Here is

RE: deploying oracle packages using the sql task

2002-12-17 Thread John Lindwall
Robert, Did you ever find a solution for this problem? I'm having the same difficulty. Thanks! John -Original Message- From: Anderson, Rob H - VSCM [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 27, 2002 10:47 AM To: '[EMAIL PROTECTED]' Subject: deploying oracle packages using

RE: Changing directory calling a target

2002-12-17 Thread Dominique Devienne
Targets do not execute in any directory... Ant executes within a JVM which is executed from the current directory. Targets contain tasks (which are usually implemented in pure Java) that execute within that JVM. These tasks are configured to operate on specified directories explicitly (or

ejbjar Unable to load dependency analyzer: org.apache.tools.ant.util.depend.bcel.AncestorAnalyzer

2002-12-17 Thread Glen Cordrey
The ejbjar task under Ant 1.5.1 reports Unable to load dependency analyzer: org.apache.tools.ant.util.depend.bcel.AncestorAnalyzer I have bcel-5.0.zip in ant/lib (and so on Ant's classpath). What else do I need for ejbjar to work? The news archives contains other postings on this but I

RE: ejbjar Unable to load dependency analyzer: org.apache.tools.ant.util.depend.bcel.AncestorAnalyzer

2002-12-17 Thread Riffe, Melvin
Glen, I don't know if this will help, but I seem to recall having similar issues with ejbjar and weblogic. It had to do with which xml transformer was listed first in the classpath. I had to put xalan first then list the weblogic.jar file we use in this shop. Like I said, I don't know if this

Re: ClassFileSet method of loading classes

2002-12-17 Thread Frank-Michael Moser
Aaron Kelley wrote: MyClass myclass = MyFactory.create(MyClass.class); I would think that MyClass should be seen as a dependency (given that this line exists in my rootfileset). So am I using it wrong, or is it something else? When you examine at the bytecode of your (root-)class you will

BCEL.jar dependency issue

2002-12-17 Thread Kuram, Harish
All, I found this blurb in the WHATSNEW file in the binary distribution of Ant 1.5.1 I didn't use the dependency to add new files but the ejbjar task completed and the jar files looks OK. I am yet to do runtime testing of the jar file. * ejbjar now allows control over which additional classes

RE: ClassFileSet method of loading classes

2002-12-17 Thread Aaron Kelley
So how exactly are dependencies found then? Are dependencies only found when you instantiate something with the keyword new? My code is filled with objects that are instantiated from factories or services. If I simply return these objects from a service to my base code will my base code not see

RE: deploying oracle packages using the sql task

2002-12-17 Thread John Lindwall
I discovered that using delimitertype=row in the sql task solved my problem. -Original Message- From: John Lindwall Sent: Tuesday, December 17, 2002 9:40 AM To: 'Ant Users List' Subject: RE: deploying oracle packages using the sql task Robert, Did you ever find a solution for this

JAR IMPLEMENTATION???

2002-12-17 Thread Luis Andrei Cobo
HI all, I am having a difficult issue regarding the use of JAR task. WE jar and sign some applets and deploy them. When we do this we get all sorts of ZIP Closed Exceptions after the jars are loaded with IllegalStateExceptions-Zip Entry Not Found. This is Java Plugin 1.4.1_01 and ant is running

RE: JAR IMPLEMENTATION???

2002-12-17 Thread Dominique Devienne
In the mean time, you can still run the JDK's jar executable using something like: condition property=exe os family=windows / /condition property name=exe value= / exec executable=${java.home}/../bin/jar${exe} ... arguments ... /exec This should be platform-portable enough to most JDKs

Patch: SQL

2002-12-17 Thread John Lindwall
The SQL task is missing task documentation for the delimitertype attribute. Here is my contribution to that effort: delimitertype The delimiter type indicating whether the delimiter will only be recognized on a line by itself. Default is normal which means the delimiter is recognized at

Filesets for echo and available?

2002-12-17 Thread Guy Rouillier
I'm a relative newcomer to Ant - only been writing build.xml files for about 8 months. To avoid huge lists of unresolved symbols at compile time, I provide checking for the presence of required jar files prior to kicking off the compile step. I've put a shortened version of the relevant section

Integrating rmic with the build

2002-12-17 Thread Swapnil Nigam
Hi, I am a newbie with ANT. I am trying to use it for the build management in our project. I would like to integrate the generation of stubs and skeletons with the build process. But then I need to compile these (remote) classes selectively. One way would be to define these directly in