Ok, I'm really stupid. Please don't flame me for how stupid I was. I
was writing a Makefile and testing it. In the make file I have:
<snip the code that builds the java files to class files>
#make a directory we can use for jarring things up
mkdir jar
#copy the com/kevinsworld/..... directory structure
cp -r com jar
cd jar
#don't want java files in the jar, just class files
rm com/kevinsworld/linux/devices/*.java
#create the jar
jar -c0vf com
cd ..
rm -r jar
First problem: the cd apparently doesn't work in the make file, so it
actually removed my java source files from where I really, _really_
didn't want them removed. Oh, where is linux's undelete feature! (You
know, the "gotta protect the morons" feature...). So, how do I "cd" in
a makefile? Jar only works correctly if you're in the directory of what
you want to jar. i.e.: if I am in jar and say "jar -c0vf jar/com" it
puts the files in the jar as if they were in package
jar/com/kevinsworld/... rather than com/kevinsworld/... So, how do I cd
in a makefile?
Second problem. I was stupid and didn't think to copy my source files
elsewhere. This is a relatively small project I was just working on and
hadn't backed up yet. (I already admitted to stupidity). Can I
disassemble my java .class files to get something to work from to
recreate the source?
Thanks for any help,
The Moron
--
Kevin White, Software Engineer
Envision Telephony
[EMAIL PROTECTED]
[EMAIL PROTECTED]
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]