greptilian logo

IRC log for #friendlyjava, 2017-01-15

##friendlyjava on freenode

| Channels | #friendlyjava index | Today | | Search | Google Search | Plain-Text | plain, newest first | summary

All times shown according to UTC.

Time S Nick Message
03:44 Octoman joined ##friendlyjava
06:23 Octoman joined ##friendlyjava
07:19 mr_lou joined ##friendlyjava
07:30 nanoz joined ##friendlyjava
07:30 nanoz joined ##friendlyjava
09:52 mr_lou So... noob question. The "Created-by" attribute in the MANIFEST.MF file (and other attributes). They aren't meant for editing? E.g. putting my own name in there rather than Sun or Oracle?
10:34 nanoz joined ##friendlyjava
10:34 nanoz joined ##friendlyjava
12:53 aditsu hmm, I don't seem to have any MANIFEST.MF at hand
12:54 aditsu digging into some executable jars..
13:31 aditsu_phone joined ##friendlyjava
13:32 aditsu_phone Sorry, bbl
13:32 pdurbin looks like it just shows which version of the JDK created it: https://docs.oracle.com/javase/tutorial/deployment/jar/defman.html
14:20 aditsu mr_lou: Created-By: Defines the version and the vendor of the java implementation on top of which this manifest file is generated. This attribute is generated by the jar tool.
14:21 aditsu but apparently you can add any custom attributes you want
14:23 mr_lou Right
15:05 mr_lou I think my MANIFEST.MF is created wrong though.
15:05 mr_lou Because it adds a "Class-path" attribute with the value "lib/BDJ.jar"
15:06 mr_lou That's the classfiles I'm coding for. I.e. the ones that are present on the hardware device my JAR will be running on. It's not the name of my JAR.
15:11 pdurbin mr_lou: ok. What problem are you trying to solve? Or are you just curious about what gets put into the manifest file?
15:12 mr_lou Well there's no problem. Everything runs fine and works fine.
15:12 mr_lou It just annoys me a bit. :-)
15:12 mr_lou I suppose I could just manually remove the line.
15:19 pdurbin ah, well, I suffer from a touch of OCD too ;)
15:26 mr_lou Don't think this qualifies as OCD.
15:26 mr_lou :-)
15:40 pdurbin :)
16:55 nanoz joined ##friendlyjava
17:59 aditsu mr_lou: if your code needs BDJ.jar to work, then removing that attribute might break it
18:07 mr_lou That's just it aditsu. It doesn't need it. What BDJ.jar is, is just the class files that exists on the platform MY jar will run on.
18:07 mr_lou That's why I don't need/want any references to it.
18:08 mr_lou This is JavaME.
18:09 aditsu if you don't need it, then you can remove the attribute
18:11 mr_lou Yes
18:12 mr_lou Will do.
18:12 mr_lou Would just have been nice if I could somehow tell the jar tool (or NetBeans) that it shouldn't add it.
18:12 mr_lou But it doesn't seem so.
18:12 mr_lou Tried adding this BDJ.jar library in various ways now, but it still does the same in the manifest.mf file.
18:14 * mr_lou suspects he might finish his huge project this year.
18:19 mr_lou Then I will celebrate for a week straight.
18:19 mr_lou ...maybe two weeks.
18:23 aditsu why are you adding it?
18:24 aditsu also, I usually build my jars with ant, and I specify exactly what to put in them
18:41 mr_lou I need to add it. It's like if you develop for MIDP2.0 CLDC1.0 then the compiler needs MIDP2.jar and CLDC1.jar in order to be able to compile.
18:41 mr_lou I am developing for Blu-ray players, so I need BDJ.jar in order to be able to compile.
18:42 mr_lou But it's not to be included.
18:42 mr_lou Maybe library is a wrong term to use.
18:46 aditsu so you need it at build time but not at runtime
18:48 pdurbin mr_lou: that's cool that you may finish your project this year
19:16 mr_lou aditsu, Yes
19:17 mr_lou pdurbin, Very much so. :-)
19:22 mr_lou Gotta put up some kind of reminder in the house somewhere, to remind me never to start up a project of this size again.
19:22 mr_lou 5 years in the making....  :-/
19:23 mr_lou Well, could have gone faster if I didn't have a job and family that need my time too.
19:23 mr_lou But still.
19:23 aditsu wat
19:24 mr_lou Not to mention all the stuff I had to buy to realize the vision.
20:05 mr_lou Alright. Bedtime.
20:05 mr_lou G'nite.

| Channels | #friendlyjava index | Today | | Search | Google Search | Plain-Text | plain, newest first | summary

##friendlyjava on freenode