AW: ant not recognizing command line argument

2005-11-30 Thread Jan.Materne
I tried you buildfile from [1] - commented only the jflex-taskdef out - and that worked for me. But your output [2] doesnt seem to fit to your buildfile. On your machine the execution order was "init,copygen,classes,shared,javadoc,all" but called was "ant clean" - never have seen that before. S

how to (usably) include one JAR in another?

2005-11-30 Thread Thomas L Roche
How to make include the *contents* of another JAR, rather than just that JAR file itself? What I mean: I inherited a project with a JAR but no build.xml :-( so I'm creating one. The oddest thing about this project is that, under its lib/, it has classes, not JARs: > $ find project/lib/ -type f |

RE: ant not recognizing command line argument

2005-11-30 Thread Lasher, James L
I just cut and pasted this sample and ran it. It executed as you would have hoped, for me. Perhaps you could run the clean with the -debug option on and post the result so we could see more? -jim- -Original Message- From: Safak Ökmen [mailto:[EMAIL PROTECTED] Sent: Wednesday, Novembe

Re: ant not recognizing command line argument

2005-11-30 Thread Safak Ökmen
I just wrote this simple build.xml: and chaned into the bin directory of my ant installation. Execute ant, I get D:\programme\ant\bin>ant Buildfile: build.xml one: [mkdir] Created dir: D:\programme\ant\bin\hal

Re: ant not recognizing command line argument

2005-11-30 Thread Safak Ökmen
Hi! I'm sorry. Here I have uploaded it on my webpage: http://home.in.tum.de/~oekmen/antFailure.JPG Safak. Ivan Ivanov wrote: Hello, I am sorry. I am willing to help, morever it seems an easy issue, but your attachment is stripped off. If you want to receive some help, sent the build log inlin

Re: ant not recognizing command line argument

2005-11-30 Thread Ivan Ivanov
Hello, I am sorry. I am willing to help, morever it seems an easy issue, but your attachment is stripped off. If you want to receive some help, sent the build log inline of the message. Regards Ivan --- Safak �kmen <[EMAIL PROTECTED]> wrote: > I start it with just > ant (the output should be

Re: ant not recognizing command line argument

2005-11-30 Thread Safak Ökmen
I start it with just ant (the output should be like on the jpeg) or ant clean (the output on the jpeg is false for the target clean) on command line. See jpeg. Safak. Ivan Ivanov wrote: Hello, How do you start this build file. Please post the exact command with which you start it, as well as

Re: ant not recognizing command line argument

2005-11-30 Thread Ivan Ivanov
Hello, How do you start this build file. Please post the exact command with which you start it, as well as the output. Regards Ivan --- Safak �kmen <[EMAIL PROTECTED]> wrote: > Here is the buildfile: > > http://phpfi.com/89578 > > Safak. > > Karr, David wrote: > > We'd have to see your bui

Re: ant not recognizing command line argument

2005-11-30 Thread Rhino
It's pretty hard to help you without seeing your Ant script. Please re-post with the relevant part of the script and someone here can probably help you. Rhino - Original Message - From: "Safak Ökmen" <[EMAIL PROTECTED]> To: Sent: Wednesday, November 30, 2005 1:59 PM Subject: ant not

Re: ant not recognizing command line argument

2005-11-30 Thread Safak Ökmen
Here is the buildfile: http://phpfi.com/89578 Safak. Karr, David wrote: We'd have to see your build file. I'm guessing your "clean" target has a dependency which you didn't notice. -Original Message- From: Safak Ökmen [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 30, 2005 10:5

RE: ant not recognizing command line argument

2005-11-30 Thread Karr, David
We'd have to see your build file. I'm guessing your "clean" target has a dependency which you didn't notice. > -Original Message- > From: Safak Ökmen [mailto:[EMAIL PROTECTED] > Sent: Wednesday, November 30, 2005 10:59 AM > To: user@ant.apache.org > Subject: ant not recognizing command

ant not recognizing command line argument

2005-11-30 Thread Safak Ökmen
Hello, on windows I execute the following selfdefined target "clean" like: ant clean on command line. Still and executes default target. If I replace the default target to "clean", it works. What is the problem? Thanks, Safak. "hynonym is a synonym for homon

Re: How to check availability of a set of files

2005-11-30 Thread Matt Benson
--- David <[EMAIL PROTECTED]> wrote: > Dear Members, > > Is it possible to check the availability of the > set of generated files, with a given pattern? > > The following solution doesn't work: > > > > > type="dir"/> > file="${middlegen.destDir}/com/amena/cac/d

Re: Url Syntax for invoking adminitrative task on mysql database

2005-11-30 Thread Ray Tayek
At 10:51 AM 11/29/2005, you wrote: ... BUILD FAILED P:\SLZ\AMENA-CC\build.xml:276: java.sql.SQLException: No suitable Driver for jdbc:mysql://localhost:3306 ... i had this (but for very different reasons) with mysql 5. updating to the most recent driver fixed it. thanks ---

How to check availability of a set of files

2005-11-30 Thread David
Dear Members, Is it possible to check the availability of the set of generated files, with a given pattern? The following solution doesn't work: it expect on the file attribute a file name or directory. I whould like to check the output director

RE: Recovering the return code from the called build.xml into the calling build.xml

2005-11-30 Thread Bhatia Saurabh \(CHA\)
Bonjour/Hello/Gutentag, Exec doesnt work under windows NT with vmlauncher="false" but no problem on XP. Any clues folks? This is how I call the target in my calling build.xml

Re: Adding reference while parsing a file

2005-11-30 Thread Dominique Devienne
> why the hell is ant adding reference while parsing a file? [...] > Is this really what it should be? Yes, for backward compatibility reason, although it is indeed puzzling. See http://issues.apache.org/bugzilla/show_bug.cgi?id=34458 for a work around. --DD -

Adding reference while parsing a file

2005-11-30 Thread Ondřej Světlík
Hello all, why the hell is ant adding reference while parsing a file? I have a very simple example: file 1: build.xml file 2: makro.xml

AW: AW: Extract jar files in an ant task

2005-11-30 Thread Jan.Materne
Maybe Leafcutter is something for you Jan http://marc.theaimsgroup.com/?l=ant-user&m=112962452208546&w=2 https://leafcutter.dev.java.net/ >-Ursprüngliche Nachricht- >Von: Markus Innerebner [mailto:[EMAIL PROTECTED] >Gesendet: Mittwoch, 30. November 2005 14:38 >An: Ant Users List >Bet

Re: AW: Extract jar files in an ant task

2005-11-30 Thread Markus Innerebner
thanks a lot for this page Markus - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Extract jar files in an ant task

2005-11-30 Thread Markus Innerebner
To explain me better. I am programming my Ant task in Java. So inside my code I want to use the java class provided by apache ant for doing such extract operations. Markus - To unsubscribe, e-mail: [EMAIL PROTECTED] For addition

AW: Extract jar files in an ant task

2005-11-30 Thread Jan.Materne
All the mapping between tasknames and the implementing class is specified in the default.properties [1] file. Jan [1] http://svn.apache.org/repos/asf/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/defaults.properties >-Ursprüngliche Nachricht- >Von: Jeffrey E Care [mailto:[EMA

AW: SVN task

2005-11-30 Thread Jan.Materne
There are some external tasks (see external task page) and there is a svn antlib in the repository - not released yet. Jan >-Ursprüngliche Nachricht- >Von: Andrei [mailto:[EMAIL PROTECTED] >Gesendet: Mittwoch, 30. November 2005 13:56 >An: Ant Users List >Betreff: SVN task > >I know th

Re: Extract jar files in an ant task

2005-11-30 Thread Jeffrey E Care
is a task, not a target. Why do you need to know the implementing class? Unless you're trying to use Ant programmatically the implementing class is irrelevant. -- Jeffrey E. Care ([EMAIL PROTECTED]) WebSphere v7 Release Engineer WebSphere Build Tooling Lead (Project Mantis) Markus Innerebner

Re: Extract jar files in an ant task

2005-11-30 Thread Markus Innerebner
On Wed, 2005-11-30 at 08:06 -0500, Jeffrey E Care wrote: > JAR files are simply ZIP files with extra metadata. Use . > Hi Jeffrey thanks for the answer, but which is the java class which I can use for such extract operation. I am not able to find this ant task. You only show me the ant target.

Re: Extract jar files in an ant task

2005-11-30 Thread Jeffrey E Care
JAR files are simply ZIP files with extra metadata. Use . -- Jeffrey E. Care ([EMAIL PROTECTED]) WebSphere v7 Release Engineer WebSphere Build Tooling Lead (Project Mantis) Markus Innerebner <[EMAIL PROTECTED]> wrote on 11/30/2005 07:53:06 AM: > Hello @all > > I realized that there only exi

SVN task

2005-11-30 Thread Andrei
I know that there exists a CVS task that handles packages/modules retrieved from a CVS repository. There exists any task to handle SVN updates? Thanks, Andrei - To unsubscribe, e-mail: [EMAIL PROTECTED] F

Extract jar files in an ant task

2005-11-30 Thread Markus Innerebner
Hello @all I realized that there only exist the Jar class with which you are able to create a jar file. As an ant target there exists the target unjar but I am not able to find the corresponding java class (task). I see there are some other Unpacker, but which one is the right class for such ope