How to specify main-class in SCons Java build? -


i have following sconscript file:

java(target='classes', source='.'); jar(target='test.jar', source='classes') 

the problem i'm unsure how set main-class attribute , it's not covered in scons documentation. know how this?

i figured out. here's updated sconscript file:

jar(target='observer',     source=['observer.java',             'manifest.txt']) 

note manifest.txt file can have name, first line in must be:

manifest-version: 

Comments

Popular posts from this blog

javascript - Enclosure Memory Copies -

php - Replacing tags in braces, even nested tags, with regex -