Re: JavaC and sourcepath

2008-03-25 Thread Raja Nagendra Kumar
everything in the > build/classes directory and use that to create a pattern to copy. > > > -- > Steve Loughran http://www.1060.org/blogxter/publish/5 > Author: Ant in Action http://antbook.org/ > > --------

Re: JavaC and sourcepath

2008-03-25 Thread Steve Loughran
Raja Nagendra Kumar wrote: 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 sele

Re: JavaC and sourcepath

2008-03-21 Thread Scot P. Floess
Hmm, I wonder if you can do something by enabling listfiles output to the javac task? Or verbose? Anyway that may help you some... Raja Nagendra Kumar wrote: Hi, Let me rephrase my need.. We are a organisation, which use open source and also lot of common library to develop j2me applicatio

Re: JavaC and sourcepath

2008-03-21 Thread Scot P. Floess
Very very interesting. I understand. I'll have to give this some thought. Raja Nagendra Kumar wrote: 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 fr

Re: JavaC and sourcepath

2008-03-20 Thread Raja Nagendra Kumar
JavaC-and-sourcepath-tp16181099p16193121.html Sent from the Ant - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

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
ass, searching for the respective java file in source and src paths etc.. Regards, Raja Nagendra Kumar. -- View this message in context: http://www.nabble.com/JavaC-and-sourcepath-tp16181099p16184205.html Sent from the Ant - Users mailing list archive at Nabble.

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: 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

JavaC and sourcepath

2008-03-20 Thread Raja Nagendra Kumar
were compiled by javac task. if this feature does not exist, it may be good candidate to provide the same in new version of ant :) Regards, Raja Nagendra Kumar, C.T.O www.tejasoft.com -- View this message in context: http://www.nabble.com/JavaC-and-sourcepath-tp16181099p16181099.html Sent from th