Use zipgroupfileset instead of zipfileset in Jar artifact?

I would like to create a single jar artifact that contains all dependent jars in exploded form. This way we don't have to mess around with really long classpath declarations when we execute our app.

When I generate an Ant build script for a project that has a Jar artifact, the Ant script uses <zipfileset> to include all dependent jars. This has the effect of embedding the dependent jars into the artifact jar as nested jars.

Using <zipgroupfileset> instead will unpack the dependant jars and insert them directly as class files into the artifact jar ("exploded").

Is there any way to get Idea to use <zipgroupfileset> instead of <zipfileset> in the generated ant script? I'd really rather not have to hand modify the generated script each time I generate a new one (which is a pretty frequent occurrence).

I think this may be related to IDEA-51729

3 comments

Now it isn't possible. This feature is indeed part of IDEA-51729 issue.

I would like to create a single jar artifact that contains all dependent jars in exploded form. This way we don't have to mess around with really long classpath declarations when we execute our app.

When I generate an Ant build script for a project that has a Jar artifact, the Ant script uses <zipfileset> to include all dependent jars. This has the effect of embedding the dependent jars into the artifact jar as nested jars.

Using <zipgroupfileset> instead will unpack the dependant jars and insert them directly as class files into the artifact jar ("exploded").

Is there any way to get Idea to use <zipgroupfileset> instead of <zipfileset> in the generated ant script? I'd really rather not have to hand modify the generated script each time I generate a new one (which is a pretty frequent occurrence).

I think this may be related to http://youtrack.jetbrains.net/issue/IDEA-51729

---
Original message URL: http://www.jetbrains.net/devnet/message/5263162#5263162



--
Nikolay Chashnikov
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

0

Thanks, Nikolay.

Not sure how to read the bug report. Is this something that you might address in the near future?

0

I've set 'Fix version' to 'X' for this issue so it is planned for IDEA 10.

Thanks, Nikolay.

Not sure how to read the bug report. Is this something that you might address in the near future?

---
Original message URL: http://www.jetbrains.net/devnet/message/5263325#5263325



--
Nikolay Chashnikov
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

0

Please sign in to leave a comment.