If you build using ant (I use ant from eclipse), you can simply add additional jar files saying ant to add them ... Not necessarily the best method if you have a project supported by several people, but it works for one human and simple.
for example, my goal, which created the .jar file:
<jar destfile="${plugin.jar}" basedir="${plugin.build.dir}"> <manifest> <attribute name="Author" value="ntg"/> ................................ <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/> </manifest> </jar>
I just added one line to do this:
<jar ...."> <zipgroupfileset dir="${external-lib-dir}" includes="*.jar"/> <manifest> ................................ </manifest> </jar>
Where
<property name="external-lib-dir" value="C:\...\eclipseWorkspace\Filter\external\...\lib" />
there was a gear with external jars. And that ... You can add some zipgroupfileset tags.
ntg Apr 25 '12 at 18:41 2012-04-25 18:41
source share