Re: WELCOME to user@ant.apache.org

2015-06-16 Thread aalok singhvi
With SCP i have tried... This als not works and I tried doing a tar on remote server which also not works. On Tue, Jun 16, 2015 at 5:41 PM, aalok singhvi wrote: > I have to copy a directory structure from a Linux Machine to windows. . > Directory looks something like.. > > Test directory -

Re: WELCOME to user@ant.apache.org

2015-06-16 Thread aalok singhvi
I have to copy a directory structure from a Linux Machine to windows. . Directory looks something like.. Test directory - next level directory - low level directory with some jar. This should be copied as is. With ftp it only copies jar but not the directory structure. Can you please help ? On

Re: WELCOME to user@ant.apache.org

2015-06-16 Thread aalok singhvi
No worries. For now I am trying to see if i can overwrite the files that are not delete. I am getting the files from FTP. Lets see if that works or not. On Mon, Jun 15, 2015 at 2:55 PM, Stefan Bodewig wrote: > On 2015-06-15, aalok singhvi wrote: > > > When I use execute something like.. > > > e

Re: WELCOME to user@ant.apache.org

2015-06-15 Thread Stefan Bodewig
On 2015-06-15, aalok singhvi wrote: > When I use execute something like.. > exec name=cmd >Arg= /c >Arg=ant path to the batch file under bin >Arg=-p > End exec > Delete > Both exec and delete are in same target. It delete all files except two > saying that attempts to delete the fi

Re: WELCOME to user@ant.apache.org

2015-06-15 Thread aalok singhvi
When I use execute something like.. exec name=cmd Arg= /c Arg=ant path to the batch file under bin Arg=-p End exec Delete Both exec and delete are in same target. It delete all files except two saying that attempts to delete the file when ant jvm has exited and might not succeed. On Ju

Re: WELCOME to user@ant.apache.org

2015-06-14 Thread Stefan Bodewig
On 2015-06-14, aalok singhvi wrote: > Stephen can you give me an example on update jars where I use ant within > ant. invoking ant.bat is probably the easiest way for starting Ant from within a buildfile. Ant's main jar (ant-launcher.jar in 1.7.0 IIRC) doesn't contain a Main-Class entry in its

Re: WELCOME to user@ant.apache.org

2015-06-14 Thread Stefan Bodewig
On 2015-06-14, Christopher BROWN wrote: > Since Java SE 7, URLClassLoader defines a "close()" method which may be > useful in the specific case mentioned: > http://docs.oracle.com/javase/7/docs/api/java/net/URLClassLoader.html#close() This won't help if the file in question is on the system class

Re: WELCOME to user@ant.apache.org

2015-06-14 Thread aalok singhvi
Stephen Are you suggesting on doing something like this // value takes in new ant.jar may be a newer ant version and then all delete Thanks On Sun, Jun 14, 2015 at 5:09 PM, aalok singhvi wrote: > Stephen can you give me an example on update jars where I use ant within > ant. > O

Re: WELCOME to user@ant.apache.org

2015-06-14 Thread aalok singhvi
Chris..I am on java 6 and upgrading to 7 might be challenging. On Jun 14, 2015 3:28 PM, "Christopher BROWN" wrote: > Hello, > > Since Java SE 7, URLClassLoader defines a "close()" method which may be > useful in the specific case mentioned: > > http://docs.oracle.com/javase/7/docs/api/java/net/UR

Re: WELCOME to user@ant.apache.org

2015-06-14 Thread aalok singhvi
Stephen can you give me an example on update jars where I use ant within ant. On Jun 14, 2015 3:16 PM, "Stefan Bodewig" wrote: > On 2015-06-14, aalok singhvi wrote: > > > I tried using "deleteonexit" and it is know allowing me to delete > something > > of the jars but not allowing me to delete 2

Re: WELCOME to user@ant.apache.org

2015-06-14 Thread Christopher BROWN
Hello, Since Java SE 7, URLClassLoader defines a "close()" method which may be useful in the specific case mentioned: http://docs.oracle.com/javase/7/docs/api/java/net/URLClassLoader.html#close() As for the more general case of Windows locking files from Java, as I understand it, it's because the

Re: WELCOME to user@ant.apache.org

2015-06-14 Thread Stefan Bodewig
On 2015-06-14, aalok singhvi wrote: > I tried using "deleteonexit" and it is know allowing me to delete something > of the jars but not allowing me to delete 2 directories. It says the once > Ant JVM is terminated it can be deleted. This is what I described. This happens if the JVM has opened th

Re: WELCOME to user@ant.apache.org

2015-06-14 Thread aalok singhvi
Hey Stephan, I tried using "deleteonexit" and it is know allowing me to delete something of the jars but not allowing me to delete 2 directories. It says the once Ant JVM is terminated it can be deleted. Can we terminate ant jvm and restart once this delete is completed. I know its a stupid quest

Re: WELCOME to user@ant.apache.org

2015-06-14 Thread Stefan Bodewig
On 2015-06-14, aalok singhvi wrote: > at org.apache.tools.ant.taskdefs.Delete.handle(Delete.java:720) > at org.apache.tools.ant.taskdefs.Delete.removeDir(Delete.java:769) > org.apache.tools.ant.taskdefs.Delete.removeDir(Delete.java:765) > org.apache.tools.ant.taskdefs.Delete.execute(Delete.java:76

Re: WELCOME to user@ant.apache.org

2015-06-14 Thread aalok singhvi
Cant a force delete a filesomething like windows "del -F file name". On Sun, Jun 14, 2015 at 1:31 PM, aalok singhvi wrote: > > at org.apache.tools.ant.taskdefs.Delete.handle(Delete.java:720) > at org.apache.tools.ant.taskdefs.Delete.removeDir(Delete.java:769) > org.apache.tools.ant.taskdef

Re: WELCOME to user@ant.apache.org

2015-06-14 Thread aalok singhvi
at org.apache.tools.ant.taskdefs.Delete.handle(Delete.java:720) at org.apache.tools.ant.taskdefs.Delete.removeDir(Delete.java:769) org.apache.tools.ant.taskdefs.Delete.removeDir(Delete.java:765) org.apache.tools.ant.taskdefs.Delete.execute(Delete.java:769) org.apache.tools.ant.UnkownElement.execute

Re: WELCOME to user@ant.apache.org

2015-06-14 Thread Stefan Bodewig
[please don't drop the user list from replies] On 2015-06-14, aalok singhvi wrote: > When i use verbose to print errors its gives certain info as follows... > It errors out on ant taskdef delete handle > Delete.java line 720, 769 765 and 586. It owuld be better if you could paste the full s

Re: WELCOME to user@ant.apache.org

2015-06-14 Thread Stefan Bodewig
On 2015-06-13, aalok singhvi wrote: > I am working on a project where i am not able to delete certain files using > ant 1.7. I saw some bug with ant 1.7 where the suggestion was to use ant > 1.8 version. My project is built out in 1.7 and it will be a big change to > built it out in 1.8. We are p

Re: WELCOME to user@ant.apache.org

2015-06-13 Thread aalok singhvi
! This is the ezmlm program. I'm managing the > user@ant.apache.org mailing list. > > I'm working for my owner, who can be reached > at user-ow...@ant.apache.org. > > Acknowledgment: I have added the address > >aaloksing...@gmail.com > > to the user mailing

Re: WELCOME to user@ant.apache.org

2009-09-29 Thread Alex Foreman
Hi, When using the junit task in Ant if a test times out, then all the user receives is an one line error to the console saying that the tests timeout and the junit report looks fine because it only reports tests that had successfully completed. In order to debug the timeout stack traces are neede

RE: WELCOME to user@ant.apache.org

2006-03-27 Thread ilango
Hi Bill I am sorry about including those automatic. I profusely apologize. My problem is the following: I am trying to create a War file and an EAR file. I have these Portlet classes in the right places. I would like to be able to compile these classes, and finally create the WAR and EAR. Obviou

RE: WELCOME to user@ant.apache.org

2006-03-27 Thread bill/wilandra
lto:[EMAIL PROTECTED] Sent: Monday, March 27, 2006 10:38 PM To: user@ant.apache.org Subject: Re: WELCOME to user@ant.apache.org Hi I am a newbie to Ant. I recently wrote this build file to compile a Portlet application. The problem is, it simply does not compile any of the java files in my web fol

Re: WELCOME to user@ant.apache.org

2006-03-27 Thread ilango
Hi I am a newbie to Ant. I recently wrote this build file to compile a Portlet application. The problem is, it simply does not compile any of the java files in my web folders. I am sure that all the paths are right. Could somebody help me out by pointing out what could be wrong thanks ilango

Re: WELCOME to user@ant.apache.org

2005-02-18 Thread Andrew Solonchuk
Hi! Can you adwise me& I need find duplicated files in the set of jar files. becouse in our ant project we have more then one target, that creates jar files with classes from one common directory, and I need keep eye on havin only one copy of each class when all jars puting together in result pr