Yeah, I follow you. I ended up using the reference info on the
jar-with-deps plugin to build the assembly file.
The paths are netbeans' default, not mine. Their otherwise-decent
tools create them in those places automatically. No point in fighting
the system that hard.
On Mon, Apr 14, 2008 at
You should be able to do all of this generally with the
jar-with-dependencies configuration in the assembly plugin.
Looking at your assembly descriptor, your .groovy, .properties, and
.png files should not be in src/main/java but rather
src/main/resources. Then they would have been packaged automa
Thank you too for the quick response.
Trust me, I've RTFMd for the last 4 days on this. The documentation
is great if you already know what you want to do. If you don't then
you spend 4 days digging, pulled along with the feeling that it's as
simple as the documentation and experts imply.
I got
Lally Singh wrote:
Thanks for the quick response. I tried it, but I couldn't figure out how to:
1. Get my .class files in there either.
2. Set up the manifest.
Here a sample conf we use that tell the plugin to:
1: Put all class files in one jar (including classes from dependencies)
2: Set the
Thanks for the quick response. I tried it, but I couldn't figure out how to:
1. Get my .class files in there either.
2. Set up the manifest.
Here's what I've got so far:
dist
false
jar
target/classes
*.
You should just use the assembly plugin directly. It can produce jars
and was really created for this kind of use case. You might want to
think about shading the dependency classes, too.
Wayne
On 4/14/08, Lally Singh <[EMAIL PROTECTED]> wrote:
> Hey all, a few questions.
>
> I'm trying to build
Hey all, a few questions.
I'm trying to build a swing application that I can launch from java -jar.
Setting Main-Class is pretty well documented from my googling.
However, including .properties and a few other important file types
(some groovy scripts) is troublesome.
If I add any sort