[jdom-interest] /Meta-Inf/Info.xml Java Compile Options

Jason Hunter jhunter at servlets.com
Thu Jul 17 18:29:30 PDT 2003


Well we don't ship a version without the build.xml file.  We could put 
build.xml in the JAR but that just doesn't seem very elegant.  Besides 
you shouldn't distribute just the JAR since you need to copy over at 
least the license.  :-)

-jh-

John Jefferson wrote:

> Hi Jason,
> 
> That is true you could look at the build.xml if you
> had the source code, perhaps including the build.xml
> in the binary would then be the best solution since
> you could then tell from the binary what options were
> on, without have to grab the source based on a binary
> tag.
> 
> JJ
> 
> 
> --- Jason Hunter <jhunter at servlets.com> wrote:
> 
>>We compile according to the rules in build.xml which
>>you can read there 
>>about as easily as in info.xml, except in build.xml
>>they're guaranteed 
>>authoritative and up to date.  :-)
>>
>>-jh-
>>
>>John Jefferson wrote:
>>
>>
>>>It would be nice if you specied what options were
>>
>>used
>>
>>>when you compile the binary.  I think the info.xml
>>>would be a good place for it.  For example,
>>>
>>><compiledwith>
>>><java>
>>><version>1.3.1_06</version>
>>><options>
>>><option name="variable attributes">on</option>
>>><option name="line number attributes">on</option>
>>><option name="source file name">on</option>
>>><option name="local variables">on</option>
>>></options>
>>></compiledwith>
>>>
>>>It is sometimes nice to know what options have
>>
>>been
>>
>>>compiled into the binaries in order to know if you
>>>should recompile them for remote debugging or for
>>>better performance.
>>>
>>>Do you just compile with default options - all on?
>>>
>>>
>>>Thanks,
>>>
>>>JJ
>>>
>>>__________________________________
>>>Do you Yahoo!?
>>>The New Yahoo! Search - Faster. Easier. Bingo.
>>>http://search.yahoo.com
>>>_______________________________________________
>>>To control your jdom-interest membership:
>>>
>>
> http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhost.com
> 
>>_______________________________________________
>>To control your jdom-interest membership:
>>
> 
> http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhost.com
> 
> 
> __________________________________
> Do you Yahoo!?
> The New Yahoo! Search - Faster. Easier. Bingo.
> http://search.yahoo.com
> 




More information about the jdom-interest mailing list