Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Deployable plug-ins and fragments + JARS -
Deployable plug-ins and fragments + JARS - [message #29693] Fri, 09 May 2003 16:41 Go to next message
Eclipse UserFriend
Originally posted by: cgoss..nixspam.madriver.com

2.1's "Deployable plug-ins and fragments" export option and it doesn't seem
to be picking up jars that are referenced in plugin.xml. In the following
spec, org.foo.bar.jar is constructed from my source, while jar1.jar and
jar2.jar are jars that appear on the classpath. I can build and self-host
without any problem at all. Yet, when I ask 'Deployable' to package the
plugin, I get a single jar org.foo.bar_1.0.0.jar containing only
org.foo.bar.jar ... no jar1.jar or jar2.jar.

<plugin id="org.foo.bar" name="org.foo.bar" version="1.0.0">
<runtime>
<library name="org.foo.bar.jar">
<export name="*"/>
</library>
<library name="jar1.jar">
<export name="*"/>
</library>
<library name="jar2.jar"/>
</runtime>
</plugin>

I checked the build.properties flags and can't see anything that will help.
I can build the jar using another method, but seems like 'Deployable' should
do the trick so. Perhaps there's something I've overlooked?
Re: Deployable plug-ins and fragments + JARS - [message #29695 is a reply to message #29693] Fri, 09 May 2003 16:50 Go to previous messageGo to next message
Eclipse UserFriend
I've run into something similiar with PDE creating the build.xml ANT
script. You need to have in your build.propertise file something like:

bin.includes = plugin.xml,jar1.jar,jar2.jar

Where you list all of the files (relative to the root of the project)
that should be copied other than the jar that is built from the source.

Maybe that will help.

Rich
Re: Deployable plug-ins and fragments + JARS - [message #29697 is a reply to message #29695] Fri, 09 May 2003 17:02 Go to previous message
Eclipse UserFriend
Originally posted by: cgoss..nixspam.madriver.com

Right as rain. I looked at bin.includes and dismissed it after reading the
docs:

a.. bin.includes - lists files to include in the binary build

which suggested to me that the referenced items would land in the output
file rather than the jar.

Thanks!

"Richard L. Kulp" <richkulp@us.ibm.com> wrote in message
news:b9h4cr$9uq$1@rogue.oti.com...
> I've run into something similiar with PDE creating the build.xml ANT
> script. You need to have in your build.propertise file something like:
>
> bin.includes = plugin.xml,jar1.jar,jar2.jar
>
> Where you list all of the files (relative to the root of the project)
> that should be copied other than the jar that is built from the source.
>
> Maybe that will help.
>
> Rich
>
Previous Topic:Ant wants a JAVA_HOME or com.sun.tools.javac.Main class.....
Next Topic:Python DT?
Goto Forum:
  


Current Time: Sun Jun 08 13:27:34 EDT 2025

Powered by FUDForum. Page generated in 0.04540 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top