AW: AW: Priorities in Workflows

2007-09-10 Thread Jan.Materne
Ant was designed for doing builds. Workflow engines must have more features like fallback, revert ... see also http://marc.info/?l=ant-user&m=117879515327136&w=2 Jan Von: Emir Mahmut BAHSI [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 11. Se

RE: How to get the simple file name?

2007-09-10 Thread Rebhan, Gilbert
Hi, -Original Message- From: Knuplesch, Jürgen [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 11, 2007 8:01 AM To: Ant Users List Subject: AW: How to get the simple file name? /* Hello, My expirience is, that Ant always gives you the full path, without a chance to change it. If s

RE: how to replace a segment in a XML file?

2007-09-10 Thread Rebhan, Gilbert
Hi, -Original Message- From: Chad.Chang [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 11, 2007 7:42 AM To: Ant Users List Subject: Re: how to replace a segment in a XML file? /* Thanks for your reply. I am not allowed to introduce thirdparty libraries even open-source ones in m

AW: How to get the simple file name?

2007-09-10 Thread Knuplesch , Jürgen
Hello, My expirience is, that Ant always gives you the full path, without a chance to change it. If someone shows how (you could write your own Ant-Task), I would be very intersted. My solution is to write the full filename into a textfile and then delete the path with the replace task. Probab

Re: how to replace a segment in a XML file?

2007-09-10 Thread Chad.Chang
Thanks for your reply. I am not allowed to introduce thirdparty libraries even open-source ones in my project. So I just wanna use regular expression in combination with replace/replaceregexp tasks to perform it. BTW, xmltask works well in my previous testing. more suggestions? thanks, -Chad

Re: No class Def Error

2007-09-10 Thread Prashant Reddy
On Tue, 2007-09-11 at 08:48 +0530, Ramu Sethu wrote: > Both the junit task and custom task has the same class path ref id. > Junit task works but my task fails with no class found exception May be your task does not expand refids. Have you tried cut pasting the classpath instead of referring to i

Re: how to replace a segment in a XML file?

2007-09-10 Thread Vijay Aravamudhan
we use the xmltask (http://www.oopsconsultancy.com/software/xmltask/) to work with xml structures within an ant file. And it seems to fit our needs. Based on what you want to do, this might help. NOTE: I am in no way affiliated to/with OOPS consultancy. Just think that this package/tool is a gr

how to replace a segment in a XML file?

2007-09-10 Thread Chad.Chang
I have to replace a section in a xml file which can be identified by attribute "id". The section which id equals 100 is what i wanna replace with id="100" name="test">. Could you guys give me some suggestions? Thanks, -Chad --

Re: Expertise needed-SCM Engineer-Intuit-Mountain View

2007-09-10 Thread Martin Gainty
Chris- No relo? ..If I remember correctly a House in San jose costs 100k ? M-- This email message and any files transmitted with it contain confidential information intended only for the person(s) to whom this email message is addressed. If you have received this email message in error, please n

Re: Ant uptodate?

2007-09-10 Thread Lionel van den Berg
Thanks for all the input. For the time being the following (slight adaption of Peter's first suggestion) suits my needs - near enough anyway. Lionel. On 10/09/2007, Peter Reilly <[EMAIL PROTECTED]> wrote: > > with current

New to permissions, how do I just let everything do what I want?

2007-09-10 Thread David Kramer
Hi. I'm somewhat experienced in Java and ant, but I haven't faced this problem before, and the ant docs aren't helping. I'm creating an ant script to run some code written by someone else at my company (they built it with Eclipse). I can forward the specific errors I'm getting, but they're a

RE: junit task classpath issue, can't find jdbc drivers?

2007-09-10 Thread Preston, Brian
Thanks for your reply. The fork worked. I should've also mentioned that the problem was happening when running from the command line as well, i.e. outside of Eclipse. After I posted this I continued reading the online junit chapter from your book and read about the fork there. I just hadn't tried i

Expertise needed-SCM Engineer-Intuit-Mountain View

2007-09-10 Thread Cox, Chris
I wanted to check in with the experts to you if any of you might know of folks in your network I should reach out to for a Staff SCM Engineer. If you know of anyone the short list of requirements is at the bottom. Thanks in advance for your help :-) Chris Cox Candidate Generation Recruiter

RE: How to deploy a project's depenencies

2007-09-10 Thread Anderson, Rob (Global Trade)
There are several strategies for managing library dependecies in a java project. You could use something like Apache Maven (http://maven.apache.org/). You could check in the libraries to your source control system. In my work, most often the easiest solution is to check in the 3rd party jars to so

RE: Ant deployment target works in one build.xml but not the other

2007-09-10 Thread Anderson, Rob (Global Trade)
The error would indicate that there is no ssh server listening on port 22 of the IP address specified. I know you said you tested it with putty and it worked, so that is strange indeed. One thing you can try is to run the sshd in verbose and non-deamon mode on the remote server to see some output a

How to deploy a project's depenencies

2007-09-10 Thread Rafael Barrera Oro
Hello i am working with two differente projects with separate build files. My intention is to build project A and make a JAR out of it (they are Java projects), then include it in project B and finally, deploy project B in a tomcat server. The thing is i can not manage to deploy project B wi

Re: Problem using sql task with ant 1.6.5

2007-09-10 Thread ericswebber
Our build fails too, we are also attempting to use the java database, hsqldb, with Spring Framework ERROR MESSAGE: java.sql.SQLException: No suitable Driver for jdbc.hsqldb:db/test Please let us know if you need the build.xml too, it is the standard spring MVC getting started tutorial... He

Ant deployment target works in one build.xml but not the other

2007-09-10 Thread david
Hello Ant dev, gurus and users. I have just solved a related problem in 2 build.xml files through this ML. Now, I have a problem with one build.xml that I do not have in the other build.xml. The target is a simple deployment using and . The failing build.xml only uses otherwise the deployment

Re: Ant taskdef works in one build.xml but not another

2007-09-10 Thread david
Hello Kevin, yep your right: the actually works in both build.xml at the command-line. The difference is the Eclipse build path is errant and issues warnings. Trusting Eclipse is ill-advised. Thanks, David. Kevin Jackson wrote .. > Hi, > > Can you add the build.xml inline as the list removes a

Re: Ant taskdef works in one build.xml but not another

2007-09-10 Thread Kevin Jackson
Hi, Can you add the build.xml inline as the list removes attachments? When you say it runs at the command line, this means that you aren't launching ant through eclipse in anyway? Thanks, Kev - To unsubscribe, e-mail: [EMAIL PR

RE: Open and read file with ant and then copy

2007-09-10 Thread Rebhan, Gilbert
Hi, -Original Message- From: Mitja B. [mailto:[EMAIL PROTECTED] Sent: Monday, September 10, 2007 2:53 PM To: Ant Users List Subject: RE: Open and read file with ant and then copy /* This idea is also very good but i have problem. java.lang.NoClassDefFoundError: org/apache/bsf/BSFExcep

Ant taskdef works in one build.xml but not another

2007-09-10 Thread david
Hello ant dev, gurus and users. I am a long time Ant user but not an expert. I have a curious situation: I have added the JeraAntTasks.jar to the %ANT_HOME%/lib and have include the following s to 2 different build.xml. The one build.xml accepts the the taskdefs OK (included below). The other

AW: AW: AW: Open and read file with ant and then copy

2007-09-10 Thread Jan.Materne
>my mistake, works like a charm, forgot to add = in .txt file >Thx again for good explanation of each line You're welcome. But please keep on the list - other people could also help and are interested in the problem/solution ;) Jan ---

AW: Open and read file with ant and then copy

2007-09-10 Thread Jan.Materne
http://ant.apache.org/manual/install.html#librarydependencies * jruby.jar * bsf.jar (or Java6) * commons-logging.jar Jan >-Ursprüngliche Nachricht- >Von: Mitja B. [mailto:[EMAIL PROTECTED] >Gesendet: Montag, 10. September 2007 14:53 >An: Ant Users List >Betreff: RE: Open and read file w

AW: AW: Open and read file with ant and then copy

2007-09-10 Thread Jan.Materne
>BUILD FAILE: >c:\projekti\test\build.xml:19: The following error occurred while executing >this line: C:\projekti\test\build.xml:23: Warning: could not find file c:\Projekti\test\${from} to copy > > > = add ac-task > = ${allfiles} contains the whole file > = iterate over each line (implizit

RE: Open and read file with ant and then copy

2007-09-10 Thread Mitja B.
This idea is also very good but i have problem. java.lang.NoClassDefFoundError: org/apache/bsf/BSFException" error which library do i need for running ruby? Thx - Original Message From: Ant Users List To: Ant Users List Subject: RE: Open and read file with ant and then copy

RE: Open and read file with ant and then copy

2007-09-10 Thread Rebhan, Gilbert
Hi, -Original Message- From: Rebhan, Gilbert [mailto:[EMAIL PROTECTED] Sent: Monday, September 10, 2007 12:49 PM To: Ant Users List Subject: RE: Open and read file with ant and then copy Oops, use =

Re: AW: Open and read file with ant and then copy

2007-09-10 Thread Mitja B.
I use your idea but i still have small problem. I install Ant-Contrib Tasks but still get this error. I little modify your code OUTPUT = c:\Projekti\test>ant opencopy Buildfile: build.xml opencopy: BUILD FAILE: c:\projekti\test\build.xml:19: The following error occurred while executing this lin

RE: How to open a URL?

2007-09-10 Thread Priest, James (NIH/NIEHS) [C]
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Monday, September 10, 2007 2:28 AM > To: user@ant.apache.org; [EMAIL PROTECTED] > Subject: AW: How to open a URL? > > > > But I would recommend having an eye on Canoo Webtest > http://webtest.canoo.com/ Ja

Re: extract properties from file and corresponding template

2007-09-10 Thread Patrick Martin
Indeed, it will certainly be useful. Thanks a lot. Patrick On 9/7/07, Bruce Atherton <[EMAIL PROTECTED]> wrote: > True, if your properties file has embedded ant properties that you > expect to be replaced, what you will get back when you regenerate the > file is not the property but the replacemen

RE: Open and read file with ant and then copy

2007-09-10 Thread Rebhan, Gilbert
Hi, -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, September 10, 2007 11:53 AM To: user@ant.apache.org Subject: AW: Open and read file with ant and then copy /* Just an idea and not tested. Use '=' for separating source from target name. Used AntContr

Re: junit task classpath issue, can't find jdbc drivers?

2007-09-10 Thread Steve Loughran
Preston, Brian wrote: Is there a common 'gotcha' with running the junit task and classpaths? Because I'm having a problem where my tests run against the database, so they need the drivers on the classpath, and they're not being found. Here's the error : java.sql.SQLException: No suitable drive

Re: AW: Open and read file with ant and then copy

2007-09-10 Thread Mitja B.
Thx you for your help, i will work on your solution. It is verry good idea. Thx again regards -- L.P. Mitja B. - Original Message From: Ant Users List To: user@ant.apache.org Subject: AW: Open and read file with ant and then copy Date: 10/09/07 11:53 > Just an idea and not te

AW: Open and read file with ant and then copy

2007-09-10 Thread Jan.Materne
Just an idea and not tested. Use '=' for separating source from target name. Used AntContrib. copy.txt /a/b/c.xml=/d/e/f.xml ... Jan >-Ursprüngliche Nachricht- >Von: Mitja B. [mailto:[EMAIL PROTECTED] >Gesendet:

Re: Ant uptodate?

2007-09-10 Thread Peter Reilly
On 9/10/07, Peter Reilly <[EMAIL PROTECTED]> wrote: > with current ant it is difficult to do exactly what you want, > I normally do the following: > Pick a file that Sablecc allways changes when it > is run - ${targetdir}/lexer/Lex.java for example. > Use ant-contrib's outofdate task. > > >

Re: Ant uptodate?

2007-09-10 Thread Peter Reilly
with current ant it is difficult to do exactly what you want, I normally do the following: Pick a file that Sablecc allways changes when it is run - ${targetdir}/lexer/Lex.java for example. Use ant-contrib's outofdate task. Ant 1.7.1 is adding in a "erroronmissingdir" attr

RE: Open and read file with ant and then copy

2007-09-10 Thread Mitja B.
Thx for so quick answer, i will lok for filterchain and try to solve my problem. regards - Original Message From: Ant Users List To: Ant Users List , Mitja B. <[EMAIL PROTECTED]> Subject: RE: Open and read file with ant and then copy Date: 10/09/07 09:50 > > Hi, > > -Ori

Padmaja Kunapareddy/Lexington/IBM is out of the office.

2007-09-10 Thread Padmaja Kunapareddy
I will be out of the office starting 09/10/2007 and will not return until 09/17/2007. For any CQ Patch issues/questions, please contact Kevin B Murray or Ed Hayes For any CQ 7.1 issues/questions, please contact Sandy Roschelle or Ed Hayes for any other issues please contact Ed Hayes I will be

RE: Open and read file with ant and then copy

2007-09-10 Thread Rebhan, Gilbert
Hi, -Original Message- From: Mitja B. [mailto:[EMAIL PROTECTED] Sent: Monday, September 10, 2007 9:45 AM To: user@ant.apache.org Subject: Open and read file with ant and then copy /* I have big problem. I search but can not find and solution. We want to open some file, for example pro

AW: Open and read file with ant and then copy

2007-09-10 Thread Jan.Materne
What is the use case for using this project.txt? Usually you copy a bunch of files with Jan >-Ursprüngliche Nachricht- >Von: Mitja B. [mailto:[EMAIL PROTECTED] >Gesendet: Montag, 10. September 2007 09:29 >An: user@ant.apache.org >Betreff: Open and read file with ant and then copy > >

Open and read file with ant and then copy

2007-09-10 Thread Mitja B.
I have big problem. I search but can not find and solution. We want to open some file, for example project.txt in it we will have content like this inst\mm\connection.xml proj\rtu\connection.xml we want now that ant read this file and copy connectiion.xml from inst\mm directory to proj\rtu dire

Open and read file with ant and then copy

2007-09-10 Thread Mitja B.
I have big problem. I search but can not find and solution. We want to open some file, for example project.txt in it we will have content like this inst\mm\connection.xml proj\rtu\connection.xml we want now that ant read this file and copy connectiion.xml from inst\mm directory to proj\rtu dire