Yes, the Java code in the .java.keep file is exactly the code that is
compiled to make the .class file. (In fact, the .class file is created by compiling that very same Java code, using the javac compiler.) -- Mike Cowlishaw IBM Fellow, IBM UK Laboratories ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ To unsubscribe from this mailing list ( ibm-netrexx ), please send a note to [hidden email] with the following message in the body of the note unsubscribe ibm-netrexx <e-mail address> |
On Wed, 10 Dec 1997, Mike Cowlishaw wrote:
> Yes, the Java code in the .java.keep file is exactly the code that is > compiled to make the .class file. (In fact, the .class file is created > by compiling that very same Java code, using the javac compiler.) If I wanted packages to generate the class files in the correct directories (like javac -d ..) using the netrexx compiler, would I have to keep the .java files that are generated and call javac myself. I don't see a command-line switch to accompish the same thing as javac -d for my netrexx code. ================================================================= Jeffrey D. Brekke Quad/Data Services [hidden email] Quad/Graphics http://www.qds1.com 555 South 108th Street 414-443-3302 West Allis, WI 53214-1145 USA ================================================================= ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ To unsubscribe from this mailing list ( ibm-netrexx ), please send a note to [hidden email] with the following message in the body of the note unsubscribe ibm-netrexx <e-mail address> |
In reply to this post by Mike Cowlishaw-3
> If I wanted packages to generate the class files in the correct
> directories (like javac -d ..) using the netrexx compiler, would I > have to keep the .java files that are generated and call javac myself. > I don't see a command-line switch to accompish the same thing as javac > -d for my netrexx code. This is mostly a restriction imposed by the javac compiler -- it needs to find the .java (source) files when there are multiple source files being compiled together and there are interdependencies. It's safest to have the source and .class files both in the right position in a CLASSPATH tree at the time of compile. There's some more details about this in the NetRexx installation document (under 'Using the NetRexx compiler', 'Compiling multiple programs'). -- Mike Cowlishaw IBM Fellow, IBM UK Laboratories ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ To unsubscribe from this mailing list ( ibm-netrexx ), please send a note to [hidden email] with the following message in the body of the note unsubscribe ibm-netrexx <e-mail address> |
Free forum by Nabble | Edit this page |