Full compile of lib and stamp
William Guynes
Posts: 5
I guess this is more of a jikes question. I'm trying to find an easy way to force a recompile of all stamp and lib classes. I've installed as an administrator, but don't want the IDE users (not admins) to be able to recompile the libs, so I must do it for them.
Is there a quickie way of forcing this? Some example main() to compile? IIRC, java will only recompile what the program actually needs.
Post Edited (William Guynes) : 2/4/2006 4:51:12 AM GMT
Is there a quickie way of forcing this? Some example main() to compile? IIRC, java will only recompile what the program actually needs.
Post Edited (William Guynes) : 2/4/2006 4:51:12 AM GMT
Comments
The javelin IDE recompiles any source if required.
The only option is to remove the library sources from their path,
leaving only the .class files in place.
regards peter
So build them once, as Administrator, then let the users work in their sandbox for their Projects.
Allowing them write access to the lib or stamp directory is undesirable in my circumstance.
The javelin IDE does recompile and does require access to the .class files.
Wether you find it undesirable is not the issue, the Javelin IDE must
link the classes. Remove the library sources·and leave the class files,
then the class files are only read by the javelin IDE.
regards peter
The .class files only get built the first time someone tries to link them in.
I agree with you. Users running the IDE do require read access to the .class files.
They do not need write access to the .class files.
I need to make the .class files, as Administrator, so the User does not have to. Giving them write access to lib and stamp directories is undesirable.
Again I ask, how can I force a complete compile of all lib and stamp classes?
Is there a demo program that uses everything? (IIRC, java only links in what it needs for a given program.)
How do you support users that need to extend existing classes and so
must access the same package (and thus folders)? With your setup
the administrator must recompile such a class for any little change that
a user adds to such a class.
Also, many sources have explanations in them, and so it would be
best if users have read access to the sources. I recall that all
supplied sources (.java) are readonly upon installation and so
cannot be altered unless the user changes the file properties and
only the administrator has those rights.
regards peter