RE: Ant xDoclet - need some help

2005-01-05 Thread Julius Davies
Hi, EJ Ciramella, If you're on a unix machine, and the "unzip" command is available, you can run this to try and find the jar file with that class: # Find all files ending in ".jar" and get "unzip" to list their contents. find -name \*.jar -exec unzip -l {} \; If you manage to find the jar fil

Re: Copying folders

2005-01-05 Thread Poonam
Hi, Actually, the main folder contains around 50 folders, out of which I have to copy 20 folders. These folders are again 4 level deep, but it is not copying these folders upto 4th level. It just creates the 1st level folders as empty folders. But these are not empty folders. Regards, Poonam ---

RE: Copying folders

2005-01-05 Thread EJ Ciramella
but also, why not just create them up one directory instead of copying? -Original Message- From: EJ Ciramella [mailto:[EMAIL PROTECTED] Sent: Thursday, January 06, 2005 12:21 AM To: Ant Users List Subject: RE: Copying folders doesn't ant have a "includeEmptyDirs" parameter to the copy ta

RE: Copying folders

2005-01-05 Thread EJ Ciramella
doesn't ant have a "includeEmptyDirs" parameter to the copy task? -Original Message- From: Poonam [mailto:[EMAIL PROTECTED] Sent: Thursday, January 06, 2005 12:06 AM To: Ant Users List Subject: Copying folders Hi, I tried using filesets and selectors, but was not able to copy those sel

Copying folders

2005-01-05 Thread Poonam
Hi, I tried using filesets and selectors, but was not able to copy those selected 20 directories upto 3 levels. It just copied the first level files and empty directories. I used fileset as follows - where DriversList.txt contains the folder name I am want to copy. I want to copy these f

Fwd: submitting a file to Perforce using Maven

2005-01-05 Thread Mahen Perera
Hi Everybody ,, Can someone please help with this problem. See the mail below. I cannot do a "submit" using the ant tasks provided for perforce. i.e using p4submit :( Can some please help. Thanx in advance Mahen -- Forwarded message -- From: Mahen Perera <[EMAIL PROTECTED]>

Ant xDoclet - need some help

2005-01-05 Thread EJ Ciramella
Hello, we're running (or attempting to run) ant 1.6.2 and xDoclet 1.1.2 (to avoid problems with assert statements. But I keep getting this: javadoc: warning - Cannot find class EDU.oswego.cs.dl.util.concurrent.PooledExecutor Running XDoclet failed. An IO error occured while reading context data

RE: classpath directory?

2005-01-05 Thread Bill Rich
The following path seems to work for me to find all the class files, dependent jar, and zip files for a compile step: I use it like this: HTH Bill Rich Wilandra Consulting LLC 1325 Addiewell Place San Jose, CA 95120-3905 phone: +1 408

RE: classpath directory? [SOLVED]

2005-01-05 Thread Woodchuck
--- Dominique Devienne <[EMAIL PROTECTED]> wrote: > > From: Woodchuck [mailto:[EMAIL PROTECTED] > > > > i keep getting "package abc.xyz does not exist" errors when trying > to > > compile using . > > > > is this a related problem? > > Yes. > > > what is happening is that i'm trying to compil

RE: Ant should have an ext directory

2005-01-05 Thread Dick, Brian E.
That's an improvement. At least changes to environment variables would be guaranteed to be undone. Other changes made, such as net commands that Jan used in his example, would still be a problem. -Original Message- From: Matt Benson [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 05, 2

RE: classpath directory?

2005-01-05 Thread Dominique Devienne
> From: Woodchuck [mailto:[EMAIL PROTECTED] > > i keep getting "package abc.xyz does not exist" errors when trying to > compile using . > > is this a related problem? Yes. > what is happening is that i'm trying to compile a subset of java source > files (all stored within a directory). these

RE: Ant should have an ext directory

2005-01-05 Thread Matt Benson
--- "Dick, Brian E." <[EMAIL PROTECTED]> wrote: > Windows has dll hell. Java has jar war. > > If you press ctrl-c while running ant, the > antrc_post.bat file does not run. In this case, any > environment changes made by antrc_pre.bat will not > be undone. Yuk. I have long wondered about these b

classpath directory?

2005-01-05 Thread Woodchuck
hihi, i keep getting "package abc.xyz does not exist" errors when trying to compile using . is this a related problem? what is happening is that i'm trying to compile a subset of java source files (all stored within a directory). these sources require importing of other classes that i don't ha

RE: Ant should have an ext directory

2005-01-05 Thread Stephen McConnell
> -Original Message- > From: Erskine, Chris [mailto:[EMAIL PROTECTED] > Sent: 05 January 2005 15:20 > To: Ant Users List > Subject: RE: Ant should have an ext directory > > I do not think that we are saying to use Maven. I am asking for a way to > support different versions of third par

RE: org.apache.tools.ant.ProjectHelper.parse(...) throws a NullPointerException

2005-01-05 Thread Mark D. Hansen
Hi Matt. Thanks - good catch! I had an old in there that was setting the ProjectHelper property. It is still not working, but at least I'm not getting that NPE :-) -- Mark > -Original Message- > From: Matt Benson [mailto:[EMAIL PROTECTED] > Sent: Tuesday, January 04, 2005 5:48 PM > To

Running a batch file

2005-01-05 Thread Poonam
Hi, 1) How do we copy recursively to nth level? 2) How do I specify an array of values to copy.Actually, my main folder has around 50 folders, out of which I need to copy certain specific files from only 20 folders. How do I specify these folder names? There is no common part in these folder na

RE: Ant should have an ext directory

2005-01-05 Thread Dick, Brian E.
Windows has dll hell. Java has jar war. If you press ctrl-c while running ant, the antrc_post.bat file does not run. In this case, any environment changes made by antrc_pre.bat will not be undone. Yuk. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday

multiple classpaths / subprojects

2005-01-05 Thread Mark D. Hansen
Is there a "standard method" for running a sub-project using a different classpath than the master project is using? For example, if you invoke ant using: ant -f foo-build.xml -lib foo-classpath foo on the following foo-build.xml: ?? ?? Does the "ant" task invoked insid

AW: Ant should have an ext directory

2005-01-05 Thread Jan . Materne
> And then have all versions of junit in use in your ant../lib dir: > > c:/[blah]/apache-ant-1.6.2/lib/junit-v1.jar > c:/[blah]/apache-ant-1.6.2/lib/junit-v2.jar Not good to place multiple versions in ANT_HOME/lib, because all JARs there are loaded by Ant. Jan

Re: Ant should have an ext directory

2005-01-05 Thread galenboyerdev
"Erskine, Chris" <[EMAIL PROTECTED]> writes: > That starts to solve the issue of the external ext directory although it > does make it a little more work for the users to set up ant on their > machine. (Did you remember to go to your environment control and add the > ANT_ARGS value?). > > This d

Re: Ant should have an ext directory

2005-01-05 Thread Erik Hatcher
I highly recommend that you simply put junit.jar into ANT_HOME/lib as if it was a built-in part of Ant. In the big projects I've worked on, we put Ant itself into source code control and everyone used the same version of Ant from it. Any additional 3rd party tasks or dependencies I wanted to

RE: Ant should have an ext directory

2005-01-05 Thread Erskine, Chris
I have this working for my build level classes. In this case, my properties file has lucene.v1=/lib/lucene-version1/lucene-version1.jar and then in my build.xml file, I have . This means that to change the version, I just have to go into the build file and point to the next version and it is depen

AW: Ant should have an ext directory

2005-01-05 Thread Jan . Materne
> That starts to solve the issue of the external ext directory > although it > does make it a little more work for the users to set up ant on their > machine. (Did you remember to go to your environment control > and add the > ANT_ARGS value?). Can be done by %HOME%\antrc_pre.bat and %HOME%\ant

RE: Ant should have an ext directory

2005-01-05 Thread Erskine, Chris
That starts to solve the issue of the external ext directory although it does make it a little more work for the users to set up ant on their machine. (Did you remember to go to your environment control and add the ANT_ARGS value?). This does not handle the case (poor because I know that JUnit ha

Re: Launching Tomcat from Ant.

2005-01-05 Thread Erik Hatcher
On Jan 4, 2005, at 5:41 PM, Donald Strong wrote: Hi all, I am having a problem launching tomcat from ant. It works fine when I run ant in a dos shell but not when I run ant from a cygwin shell. executable="${tomcat.dir}/bin/catalina.bat" spawn="true" dir="${tomc

Re: Ant should have an ext directory

2005-01-05 Thread Erik Hatcher
On Jan 5, 2005, at 4:02 AM, James Abley wrote: Have you read or got access to a copy of "Java Development with Ant"? That has a good section about handling versioned dependencies which might work for you. It involves having a strict directory structure, and using a few levels of indirection with pr

RE: Ant should have an ext directory

2005-01-05 Thread James Abley
On Wed, 2005-01-05 at 04:50, Erskine, Chris wrote: > I do not think that we are saying to use Maven. I am asking for a way to > support different versions of third party jars from the same instance of > ant. Maven is being used as an example of one way to do it. I do not need > the auto-download

Re: Typdef/taskdef behaviour and introspection

2005-01-05 Thread Yves Martin
"Magali & Edouard sur Free" <[EMAIL PROTECTED]> writes: > As I understand, the Java XSLT API performs introspection by creating an > instance of the 'javax.xml.transform.TransformerFactory' abstract class, and > by looking at the Java system 'javax.xml.transform.TransformerFactory' > property. > >