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 understand.
As has been mentioned, this is a function of Javac.
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 selectively copy only the
files which I am using..
It also helps in some projects to know what is the exact code which make the
complete product.
Basically I am want to know though javac after it does the job, list of all
the classes it generted and from where the source code of that class was
found.
>From the class files, javac could definately know what files were complied
by javac even if we consider on demand approach. Many be though this, if ant
javac has a way to say what are the sources location.. it would solve my
issue.. else I many have write some thing my self :), i.e go though all the
generated class, searching for the respective java file in source and src
paths etc..
Regards,
Raja Nagendra Kumar.
--
Scot P. Floess
27 Lake Royale
Louisburg, NC 27549
252-478-8087 (Home)
919-754-4592 (Work)
Chief Architect JPlate http://sourceforge.net/projects/jplate
Chief Architect JavaPIM http://sourceforge.net/projects/javapim
Architect Keros http://sourceforge.net/projects/keros
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]