Re: Multiple files to task

2007-01-19 Thread Peter Kennard
well got 80% of the way there :) The below will make a list of the filename surrounded by quotes. (havn't tried it as part of a line= constrct yet. However I noticed a buggaboo - the only does simple string substitution so unless you specify ${path.separator} for every in

Re: Question about Classpath

2007-01-19 Thread julying
make sure your mysql connector is the right version to your driver class! and you can use some ant debug tools to print the stracktrace of it's procession to make sure your lib is in ! -- julying 2007-01-20

Re: Multiple files to task

2007-01-19 Thread Peter Kennard
Thanks The files may not but the paths they are in might. Can "pathconvert" manage to put quotes around all the entries? (I'll have to look up what pathconvert is :) Too bad there isn't a nested "fileset" in in an or item to do just this since many command line utilities do it like compile

Re: ant tasks for eclipse

2007-01-19 Thread Jing Ai
Cool. This is really great. Will try it out! Thanks! Jing On 1/19/07, Antoine Levy-Lambert <[EMAIL PROTECTED]> wrote: Hey, there might be something cool to import projects into a new workspace : http://help.eclipse.org/help31/index.jsp?topic=/ org.eclipse.jst.j2ee.doc.user/topics/ph-antgene

Re: ant tasks for eclipse

2007-01-19 Thread Jing Ai
Thanks Antoine! I'll look at that. I just started playing around with ant4eclipse. I can use it to build all the projects (this does not require import projects into eclipse workspace), but I don't see any tasks for me to create the war file or ear file from the workspace artifacts. I guess I'll

Re: ant tasks for eclipse

2007-01-19 Thread Antoine Levy-Lambert
Hey, there might be something cool to import projects into a new workspace : http://help.eclipse.org/help31/index.jsp?topic=/ org.eclipse.jst.j2ee.doc.user/topics/ph-antgeneral.html I just wonder why this function is in a seemingly j2ee specific plugin. Regards, Antoine On Jan 19, 2007, at

Re: Multiple files to task

2007-01-19 Thread Antoine Levy-Lambert
Hi, if your list of file is not too long, that is if you are not going to overflow the maximum for command lines (4096 chars under Windows I think), and if none of your files contain spaces in their names or directories, you can use pathconvert to generate a property from a fileset. Then

Re: ant tasks for eclipse

2007-01-19 Thread Antoine Levy-Lambert
Hello Jing, I am also working with users of Eclipse (exactly of RAD) where I work. The doc about the eclipse ant tasks is here : http://help.eclipse.org/help32/index.jsp?topic=/ org.eclipse.platform.doc.isv/guide/ant_eclipse_tasks.htm you can use eclipse.incrementalbuild to build your worksp

ant tasks for eclipse

2007-01-19 Thread Jing Ai
Hi, Does anyone know if there are any ant tasks that import projects into eclipse workspace, build the workspace and exporting the ear file? Any information are greatly appreciated! Thanks, Jing

Question about Classpath

2007-01-19 Thread Farid Izem
Hi all, I'm new to ant and i d'like to make a connexion to a mysql database. To do that, i hava done the following scripts : main project with many futures But, i get t

Multiple files to task

2007-01-19 Thread Peter Kennard
I want to pass in a "list" of files as the last arguments to a java utility. Can this be done with the task? Any hints on how I might go about it? Traversing the apache docs, I couldn't find how to do what I would think is one of the first things people would need. From the command line

Re: Ant deploy, build failed - please help

2007-01-19 Thread Scot P. Floess
Well, just looking at the compile problem...it seems failure is on the javac target... If I read this correctly the class GenericDataSource does not implement the isWrapperFor() method. My guess is GenericDataSource extends (in some fashion) Wrapper and GenericDataSource is being used by the

Ant deploy, build failed - please help

2007-01-19 Thread Timothy Haroutunian
Hello, I am trying to compile uPortal and I am getting a build failed error. I am getting the following error: [javac] /usr/local/uPortal/source/org/jasig/portal/RDBMServices.java:559: org.jasig.portal.RDBMServices.GenericDataSource is not abstract and does not override abstract method isW

Re: Install doesn't?

2007-01-19 Thread Peter Reilly
On 1/19/07, Jack J. Woehr <[EMAIL PROTECTED]> wrote: On Jan 19, 2007, at 11:49 AM, Peter Reilly wrote: > You need to set the ant.install property > > ./build.sh -Dant.install=/a/b/c Thank you, as always, most helpful Mr. Reilly. May I suggest a diff? Index: build.xml =

Re: Install doesn't?

2007-01-19 Thread Jack J. Woehr
On Jan 19, 2007, at 11:49 AM, Peter Reilly wrote: You need to set the ant.install property ./build.sh -Dant.install=/a/b/c Thank you, as always, most helpful Mr. Reilly. May I suggest a diff? Index: build.xml === --- build.xml

Re: Install doesn't?

2007-01-19 Thread Peter Reilly
You need to set the ant.install property ./build.sh -Dant.install=/a/b/c Peter On 1/19/07, Jack J. Woehr <[EMAIL PROTECTED]> wrote: I'm apparently losing my mind and have forgotten something very simple. Checked out trunk and went to build & install. Nothing installs; here is what happens:

Install doesn't?

2007-01-19 Thread Jack J. Woehr
I'm apparently losing my mind and have forgotten something very simple. Checked out trunk and went to build & install. Nothing installs; here is what happens: $ echo $ANT_HOME /usr/local/ant $ pwd /usr/local/src/Apache/Ant/trunk $ ./build.sh install Buildfile: build.xml install: BUILD SUCCE

Re: intra-element attribute property resolutionissue

2007-01-19 Thread Pascal Quesseveur
>"JK" == Jacob Kjome <[EMAIL PROTECTED]> writes: JK> Oh, and thanks for the pointer to in your previous JK> email. I hadn't remembered that was added in Ant-1.7.0, though I Just a remark. Since Ant 1.7 an attribute named encoding has been added to the target to set the encoding of the o

Re: java errors when running build file

2007-01-19 Thread Mike . Horn
Thanks Peter I get the same error messages for this short build file... "Peter Reilly" <[EMAIL PROTECTED]> 19/01/2007 13:43 Please respond to "Ant Users List" To "Ant Users List" cc Subject Re: java errors when running build file Try: with ant 1.7.0 and ant 1.6.5 Pete

Re: java errors when running build file

2007-01-19 Thread Steve Loughran
[EMAIL PROTECTED] wrote: Hello HP-UX11i Java 1.3 ANT v.1.7.0 $ ant -f Unix_Build.xml Buildfile: Unix_Build.xml [property] java.lang.reflect.InvocationTargetException: java.lang.IllegalArgume ntException: Unknown signal: HUP [property] at sun.misc.Signal.(Unknown Source) [property]

Re: intra-element attribute property resolution issue

2007-01-19 Thread Steve Loughran
Jacob Kjome wrote: > At 06:19 AM 1/18/2007, you wrote: > >Jacob Kjome wrote: > >> > >. Did I find yet another bug in Ant-related software or > >> am I missing something??? > > > >http://issues.apache.org/bugzilla/show_bug.cgi?id=41398 > >and > >http://issues.apache.org/bugzilla/show_bug.c

Re: java errors when running build file

2007-01-19 Thread Peter Reilly
Try: with ant 1.7.0 and ant 1.6.5 Peter On 1/19/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Hello HP-UX11i Java 1.3 ANT v.1.7.0 My build file (Unix_Build.xml):

java errors when running build file

2007-01-19 Thread Mike . Horn
Hello HP-UX11i Java 1.3 ANT v.1.7.0 My build file (Unix_Build.xml):

Re: Exec task not to show a console window under Windows

2007-01-19 Thread Peter Reilly
It is the xgettext exec that is creating the window - were did you get it from ? Peter On 1/19/07, dperez <[EMAIL PROTECTED]> wrote: Hi Benjamin, Of course:

AW: Exec task not to show a console window under Windows

2007-01-19 Thread Jan.Materne
Just my few cents ... - you could prepare "all" files with and pass it to xgettext - you could use for iterating over your python and java sources and calling xgettext on them Jan >-Ursprüngliche Nachricht- >Von: dperez [mailto:[EMAIL PROTECTED] >Gesendet: Freitag, 19. Januar 2007 1

RE: Exec task not to show a console window under Windows

2007-01-19 Thread dperez
Hi Benjamin, Of course: This is in a loop where I call