Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #11292
| From | Jeff Higgins <jeff@invalid.invalid> |
|---|---|
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: Strange problem with .jar and .class files |
| Date | 2012-01-12 19:38 -0500 |
| Organization | A noiseless patient Spider |
| Message-ID | <jenu14$cmg$1@dont-email.me> (permalink) |
| References | <86312e3c-b1cd-47d6-819f-5337ac665d00@t13g2000yqg.googlegroups.com> <jemu3c$tdf$1@dont-email.me> <jen0tr$5f1$1@news.albasani.net> <jen55f$an4$1@dont-email.me> <27275044.412.1326404555131.JavaMail.geo-discussion-forums@prok2> |
On 01/12/2012 04:42 PM, Lew wrote: > On Thursday, January 12, 2012 9:34:21 AM UTC-8, Jeff Higgins wrote: >> On 01/12/2012 11:14 AM, Lew wrote: >>> Jeff Higgins wrote: >>>> Eric Tonissen wrote: >>>>> I have a Java program normal running. I needed some .class files from >>>>> another project, builded an .jar file from it, added this to the >>>>> classpath and it works. >>>>> >>>>> But now we decided not to use the .class files anymore but to make a >>>>> copy from the corresponding sources to my own project. >>> >>> Why? Why? >>> >> It's a good question, but >> I sometimes have difficulty questioning motives right off the bat. >> For instance another poster's intent to produce a "human readable" ascii >> output of a 10,000 X 10,000 floating point matrix. > > The answer to "why?" informs the answer to "what?" > > As Patricia and others often advise posters, tell us the goal, not just your current, possibly flawed idea of implementation. If we know why the OP wants to do such a thing, on the face of it difficult and unrewarding, we might be able to suggest an easy and satisfying way of achieving the goal. > Good advice. Perhaps I was reading my own motivations into the OP. I've had occasion to be dissatisfied with the packaging of "third party" and even my own code. I think I may not have precisely understood the process described by the OP. Referencing the two paragraphs above. Beginning with "I have a Java program ...", I can read this several ways: a) I snagged some binary class files from another project and packaged them in a jar,or b) I built and jar packaged another project using it's own build process,or c) I built (perhaps a subset) of the classes from another project and packaged them in a jar. Beginning with "But now we decided ..." I suspect here is where the process breaks: It sounds like: I am attempting to build (perhaps a subset of) another project using my own build process. If I look at for instance Javolution library, their build process includes a non-standard text substitution step to include or not Java generics.
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Strange problem with .jar and .class files Eric Tonissen <EricTonissen@zonnet.nl> - 2012-01-12 03:40 -0800
Re: Strange problem with .jar and .class files Jeff Higgins <jeff@invalid.invalid> - 2012-01-12 10:33 -0500
Re: Strange problem with .jar and .class files Lew <noone@lewscanon.com> - 2012-01-12 08:14 -0800
Re: Strange problem with .jar and .class files Jeff Higgins <jeff@invalid.invalid> - 2012-01-12 12:34 -0500
Re: Strange problem with .jar and .class files Lew <lewbloch@gmail.com> - 2012-01-12 13:42 -0800
Re: Strange problem with .jar and .class files Jeff Higgins <jeff@invalid.invalid> - 2012-01-12 19:38 -0500
Re: Strange problem with .jar and .class files Lew <noone@lewscanon.com> - 2012-01-12 21:05 -0800
Re: Strange problem with .jar and .class files Jeff Higgins <jeff@invalid.invalid> - 2012-01-13 03:41 -0500
Re: Strange problem with .jar and .class files Jeff Higgins <jeff@invalid.invalid> - 2012-01-13 04:08 -0500
Re: Strange problem with .jar and .class files Lew <noone@lewscanon.com> - 2012-01-13 07:40 -0800
Re: Strange problem with .jar and .class files Jeff Higgins <jeff@invalid.invalid> - 2012-01-13 12:55 -0500
Re: Strange problem with .jar and .class files Lew <lewbloch@gmail.com> - 2012-01-13 15:34 -0800
Re: Strange problem with .jar and .class files Arved Sandstrom <asandstrom3minus1@eastlink.ca> - 2012-01-13 21:45 -0400
Re: Strange problem with .jar and .class files Roedy Green <see_website@mindprod.com.invalid> - 2012-01-12 09:40 -0800
Re: Strange problem with .jar and .class files Eric Tonissen <EricTonissen@zonnet.nl> - 2012-01-13 02:24 -0800
Re: Strange problem with .jar and .class files Lew <noone@lewscanon.com> - 2012-01-13 07:42 -0800
Re: Strange problem with .jar and .class files Jeff Higgins <jeff@invalid.invalid> - 2012-01-13 13:18 -0500
Re: Strange problem with .jar and .class files Lew <lewbloch@gmail.com> - 2012-01-13 15:40 -0800
csiph-web