AW: release date of ant archives versions

2008-03-17 Thread Jan.Materne
Also the release dates are listed on http://ant.apache.org/faq.html#history Jan > -Ursprüngliche Nachricht- > Von: David Weintraub [mailto:[EMAIL PROTECTED] > Gesendet: Montag, 17. März 2008 19:05 > An: Ant Users List > Betreff: Re: release date of ant archives versions > > Releases

AW: Using environment variable in SCP

2008-03-17 Thread Jan.Materne
When working with remote tasks like we have to distinguish between two environments: the env from the local and the remote machine. You can use the local environment by loading them into properties. I dont think that you can use the remote environment. What you could do as workaround i

Using environment variable in SCP

2008-03-17 Thread Suhas Majale
HI all, I am very new to ant and am using the SCP to transfer files from windows to linux (FC 6) machine. Following is the code, ** * ** * The *solr.home.path* is getting read from the associated properties file. When I assign absolute path for solr.home.path the transfer works successfully. i.e

Call-Stack of a target (WAS Ant property ant.java.version how does Ant detect this property?)

2008-03-17 Thread Jan.Materne
So something like that? $ant foo --> -one,-two,foo $ant bar --> -one,-two,bar $ant foo bar --> -one,-two,foo,-one,-two,bar $ant bar foo --> -one,-two,bar,-one,-two,foo $ant foobar --> -one,-two,foo,bar,foobar Jan > -Ur

Re: Ant property ant.java.version how does Ant detect this property?

2008-03-17 Thread David Weintraub
You know, there's one that I'd really love to have, but Ant doesn't seem to have: What target was Ant itself executing when called. For example, I have an build.xml with two external targets: "foo" and "bar". Both "foo" and "bar" are dependent upon targets "barfu" and "fubar". It would be nice to b

Re: release date of ant archives versions

2008-03-17 Thread David Weintraub
Releases of Ant can be found here: http://archive.apache.org/dist/ant/binaries/. The dates next to the archive name is the release date of that revision. Revision 1.5 was released back in August of 2003. Since beta revisions are not officially released, you probably cannot access version 1.5 Beta 3

Re: ant sql call stored procedure

2008-03-17 Thread Scot P. Floess
You might check out: http://www.thescripts.com/forum/thread143248.html I looks like "GO" is a batch delimiter? Chaohua Wang wrote: Hi, Thank you for your suggestion. But I used UTF-8, It changed a little bit, still can not get through. [sql] Executing file: C:\workspace\Canoo\billPay\te

release date of ant archives versions

2008-03-17 Thread bouchaib . falah
Hi, My name is Bouchaib Falah. I am a graduate student at North Dakota State University. Currently I am a research assistant and using ant object programs for my research. I have tow questions please and hope to find their answers from you. 1) I want to know when each ant version(from v1.2 to v1

Re: using Ivy.resolve programmatically

2008-03-17 Thread Xavier Hanin
On Wed, Mar 12, 2008 at 11:40 PM, Antoine Levy-Lambert <[EMAIL PROTECTED]> wrote: > Hi, > > I must be missing something. > > We are still on ivy-2.0.0-alpha2 (sorry that we did not upgrade yet). > > I try to reproduce in a separate java class (a CruiseControl custom plugin) > what the Ant task

RE: ant sql call stored procedure

2008-03-17 Thread Chaohua Wang
Hi, Thank you for your suggestion. But I used UTF-8, It changed a little bit, still can not get through. [sql] Executing file: C:\workspace\Canoo\billPay\tests\uspSelectCount.sql [sql] Failed to execute: ?USE [BillPay] GO SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE PROCEDURE

JUnit Task Classloader

2008-03-17 Thread Nikolas Everett
This may not be the right place to ask this. If that is the case, please let me know where to go. My application uses a custom class loader to engineer toStrings. It is normally launched using BCEL's JavaWapper class. I'm looking for a way to get similar behavior when running my JUnit tests. I

Re: what this mean : xml document structures must start and end within the same entity

2008-03-17 Thread Ma'moun Abu Hellu
it work , the problem actually is in the class path which i used , since I'm saving my .java in a package so i put the correct path and it work ( ... ="${classes\HelloWorld.dir}"/> ) thank of been patient Olivier Gies <[EMAIL PROTECTED]> wrote: I'm not sure which example you are

Re: what this mean : xml document structures must start and end within the same entity

2008-03-17 Thread Olivier Gies
I'm not sure which example you are talking about, or if you know any Java at all, but here's anyway: the HelloWorld class source should be under ./src/HelloWorld.java ... Original Message Subject: Re: what this mean : xml document structures must start and end within the s

Re: what this mean : xml document structures must start and end within the same entity

2008-03-17 Thread Ma'moun Abu Hellu
thanks, I've done what you said and i got the following ... use: BUILD FAILD D:\ant\bin\task\build.xml :18: taskdef class HelloWorld cannot be found Olivier Gies <[EMAIL PROTECTED]> wrote: You have to remove the second line containing " " ... I copy-pasted the Java code and Ant scrip

RE: what this mean : xml document structures must start and end within the same entity

2008-03-17 Thread Bizard Nicolas (KIRO 433)
Honestly Ma'moun, do some research first, and come back with real questions. Google "XML" that should solve your problem. Nicolas -Original Message- From: Olivier Gies [mailto:[EMAIL PROTECTED] Sent: Monday, March 17, 2008 11:35 AM To: Ant Users List Subject: Re: what this mean : xml do

Re: what this mean : xml document structures must start and end within the same entity

2008-03-17 Thread Olivier Gies
You have to remove the second line containing "" ... I copy-pasted the Java code and Ant script from your post, and here is what I get, without any change: E:\Java\Ant\issue#0001>ant Buildfile: build.xml BUILD FAILED E:\Java\Ant\issue#0001\build.xml:27: XML document structures must start and

Re: what this mean : xml document structures must start and end within the same entity

2008-03-17 Thread Ma'moun Abu Hellu
ya thats right but how then i can compile it , here is the error D:\ant\bin\task>ant BUILD FAILD D:\ant\bin\task\build.xml :22: xml document structures must start and end within the same entity Olivier Gies <[EMAIL PROTECTED]> wrote: You should have only 1 ... Can you send t

Re: what this mean : xml document structures must start and end within the same entity

2008-03-17 Thread Olivier Gies
You should have only 1 ... Can you send the error messsage / trace ? Original Message Subject: Re: what this mean : xml document structures must start and end within the same entity From: Ma'moun Abu Hellu <[EMAIL PROTECTED]> To: Ant Users List Date: 17/03/2008 17:45 hi,

RE: what this mean : xml document structures must start and end within the same entity

2008-03-17 Thread Bizard Nicolas (KIRO 433)
Hi Ma'moun, check your tags at the beginning of the file, and probably the ant manual would also help... Nicolas -Original Message- From: Ma'moun Abu Hellu [mailto:[EMAIL PROTECTED] Sent: Monday, March 17, 2008 10:45 AM To: Ant Users List Subject: Re: what this mean : xml document stru

Re: what this mean : xml document structures must start and end within the same entity

2008-03-17 Thread Ma'moun Abu Hellu
hi, actually I'm using Apache-ant 1.7.0 under Windows vista and i simply want to run the tutorial example Writing Tasks which is . public class HelloWorld { public void execute() { System.out.println("Hello World"); } } ---

RE: Ant, Eclipse & CVS problem adding a file

2008-03-17 Thread Daniel Sanchez Gonzalez
Ok. I'm new in using ant, so maybe this is a stupid mistake. The problem was that I was using absolute path: ... And this is the solution:

RE: Ant, Eclipse & CVS problem adding a file

2008-03-17 Thread Rebhan, Gilbert
-Original Message- From: Daniel Sanchez Gonzalez [mailto:[EMAIL PROTECTED] Sent: Monday, March 17, 2008 8:05 AM To: Ant Users List Subject: RE: Ant, Eclipse & CVS problem adding a file /* Finally it works. Thank you very much. */ Posting the solution, that fixed your problems would

RE: Ant, Eclipse & CVS problem adding a file

2008-03-17 Thread Daniel Sanchez Gonzalez
Finally it works. Thank you very much. -Mensaje original- De: Daniel Sanchez Gonzalez [mailto:[EMAIL PROTECTED] Enviado el: viernes, 14 de marzo de 2008 12:00 Para: Ant Users List Asunto: RE: Ant, Eclipse & CVS problem adding a file I've read this: "Use import to incorporate an entire