Re: JavaC and sourcepath

2008-03-20 Thread Raja Nagendra Kumar
Hi, Let me rephrase my need.. We are a organisation, which use open source and also lot of common library to develop j2me applications. Any new J2ME application we develop, we either start from the common library or add to common library as we evolve this application. This way over a period of 4

Re: xslt out of memory

2008-03-20 Thread Martin Gainty
and if you request just the requested node with xquery e.g. doc("NameofXML.xml")/NodeName?Martin- Original Message - From: "Z W" <[EMAIL PROTECTED]> To: "Ant Users List" Sent: Thursday, March 20, 2008 6:19 PM Subject: Re: xslt out of memory > Chun > I did once and there was no reply from

Re: xslt out of memory

2008-03-20 Thread Z W
Chun I did once and there was no reply from there. So I gave up; On Thu, Mar 20, 2008 at 3:33 PM, Chun Ji <[EMAIL PROTECTED]> wrote: > > This type of question has nothing to do with ANT. > > Go to: http://www.mulberrytech.com/xsl/xsl-list, > and post your xslt question in that news group. Lots of

RE: xslt out of memory

2008-03-20 Thread Chun Ji
This type of question has nothing to do with ANT. Go to: http://www.mulberrytech.com/xsl/xsl-list, and post your xslt question in that news group. Lots of XML/XSLT Geeks( including Michael Kay) answer all type of questions over there every day. I am sure yours can be solved right away. -c

Re: xslt out of memory

2008-03-20 Thread supareno
Hi supareno Thanks for responding. 2K is the size. I suspect it's to do with some math calculation that tripped it. yeah, it could come from your algorithm any infinite loop? On Thu, Mar 20, 2008 at 1:15 PM, supareno <[EMAIL PROTECTED]> wrote: what is the size of the xsl file ?? i know

Re: xslt out of memory

2008-03-20 Thread Z W
Hi supareno Thanks for responding. 2K is the size. I suspect it's to do with some math calculation that tripped it. On Thu, Mar 20, 2008 at 1:15 PM, supareno <[EMAIL PROTECTED]> wrote: > what is the size of the xsl file ?? > i know that huge file causes out of memory exception !! > check out htis

Re: xslt out of memory

2008-03-20 Thread supareno
what is the size of the xsl file ?? i know that huge file causes out of memory exception !! check out htis: http://www.velocityreviews.com/forums/t170526-huge-xml-files-xslt-memory-problems-java-amp-sax.html it could be related to your problems regards supareno Hi Is there a workaround to this

Re: JavaC and sourcepath

2008-03-20 Thread Scot P. Floess
Sorry, I still don't understand why you are doing this copy...in this fashion... Clearly you can extrapolate based on the class files generated compared to the source path's defined... But, why is it important to have just these Java files? Meaning what is the purpose and why? I just don't

Re: JavaC and sourcepath

2008-03-20 Thread Raja Nagendra Kumar
We are using lot of opensource library code, which also gets complied from source code. However, my code many not use all the sources of opensource library. This way, me copying all the opensource source always is not recommended. For this reason only, we wanted to selectively copy only the files

RE: how to load a bunch data from a txt file, and ant sql call these data

2008-03-20 Thread Anderson, Rob (Global Trade)
Good luck with that. -Rob A -Original Message- From: Chaohua Wang [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 19, 2008 6:15 PM To: Ant Users List; Ant Users List Subject: ??: how to load a bunch data from a txt file, and ant sql call these data I am not interested in your link. I

xslt out of memory

2008-03-20 Thread Z W
Hi Is there a workaround to this issue ? Thanks [xslt] Loading stylesheet \\filer\zw_detail.xsl BUILD FAILED C:\Documents and Settings\report_main.xml:15: The following error occurred while executing this line: C:\Documents and Settings\report_main.xml:133: java.lang.OutOfMemoryError: Jav

Re: JavaC and sourcepath

2008-03-20 Thread Steve Loughran
Raja Nagendra Kumar wrote: Hi, In ant script like the following with both srcdir and sourcepath.. I am looking to copy the source code files to seperate directory after the javac task. For this I know all the files in srcdir is one

Re: JavaC and sourcepath

2008-03-20 Thread Scot P. Floess
If you know the dirs you are compiling, why not copy the files from there? For example, I see ${PROJECT_HOME}/common/src in your sourcepath... So why does Javac need this functionality? Stock command line javac doesn't do this. I don't see why the task javac should either Raja Nagendr

Re: Delete hidden files probelm

2008-03-20 Thread Matt Benson
Is it possible you're running afoul of "default excludes"? see http://ant.apache.org/manual/dirtasks.html#defaultexcludes HTH, Matt --- neo anderson <[EMAIL PROTECTED]> wrote: > > I use the following task to delete hidden files. > > > > However, there are many files needed to be remov

Re: JavaC and sourcepath

2008-03-20 Thread Raja Nagendra Kumar
I see javac task attribute listfiles.. however not sure how to use this in the context of copying them to a new location. Regards, Nagendra -- View this message in context: http://www.nabble.com/JavaC-and-sourcepath-tp16181099p16181104.html Sent from the Ant - Users mailing list archive at Nabb

JavaC and sourcepath

2008-03-20 Thread Raja Nagendra Kumar
Hi, In ant script like the following with both srcdir and sourcepath.. I am looking to copy the source code files to seperate directory after the javac task. For this I know all the files in srcdir is one copy and other source files

RE: Delete hidden files probelm

2008-03-20 Thread Rebhan, Gilbert
-Original Message- From: neo anderson [mailto:[EMAIL PROTECTED] Sent: Thursday, March 20, 2008 12:24 PM To: user@ant.apache.org Subject: Delete hidden files probelm /* I use the following task to delete hidden files. However, there are many files needed to be removed. If I u

Delete hidden files probelm

2008-03-20 Thread neo anderson
I use the following task to delete hidden files. However, there are many files needed to be removed. If I use It won't delete hidden files ( but works for removing file ext with txt ) What is the correct syntax to remove hidden files using ant tasks? Thanks in advice, --

Re: Using environment variable in SCP

2008-03-20 Thread Suhas Majale
HI Steve, Thanks for your reply, it was the same problem that you anticipated. It was not loading the env variables, so I had a workaround for that. Now my code works like this, I am setting the environment variable in the .bash_profile and here is working piece of my code. * * * * Reg

RE: Retrieving key value pairs from URL and setting as system property

2008-03-20 Thread Rebhan, Gilbert
-Original Message- From: raju [mailto:[EMAIL PROTECTED] Sent: Thursday, March 20, 2008 6:16 AM To: user@ant.apache.org Subject: RE: Retrieving key value pairs from URL and setting as system property /* This is what i am trying to acheive from within an Ant script: Hit a URL say http://h