Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Buckminster » How can I avoid source jars in feature exports?
How can I avoid source jars in feature exports? [message #500224] Wed, 25 November 2009 12:49 Go to next message
John is currently offline JohnFriend
Messages: 107
Registered: July 2009
Senior Member
Hi!


When I perform some.feature#feature.exports I get a build folder
with the folders jar, site, source.jar, and temp.
In the site folder bot the features and plugin folders contain source jars.
Is there a way to avoid this?

Actually I want to have it zipped, so I tried to modify the CSPEX from the Mailapp in the following way:

<?xml version="1.0" encoding="UTF-8"?>
<cspecExtension
xmlns:com="http://www.eclipse.org/buckminster/Common-1.0"
xmlns="http://www.eclipse.org/buckminster/CSpec-1.0">

<actions>
<public name="create.zip" actor="ant">
<actorProperties>
<property key="buildFileId" value="buckminster.pdetasks"/>
<property key="targets" value="create.zip"/>
</actorProperties>
<prerequisites alias="action.requirements">
<attribute name="feature.exports"/>
</prerequisites>
<products alias="action.output" base="${buckminster.output}">
<path path="contrib.zip"/>
</products>
</public>
</actions>
</cspecExtension>

Is this the correct way to do it?

It actually generates a zip file just as I want it,
but unfortunately it also contains the source jars.
Could somebody please help me get rid of these?

Thanks in advance.

/John
Re: How can I avoid source jars in feature exports? [message #500235 is a reply to message #500224] Wed, 25 November 2009 13:01 Go to previous messageGo to next message
Johannes Utzig is currently offline Johannes UtzigFriend
Messages: 329
Registered: July 2009
Senior Member
Hi John,

this is controled by a property. If you do not want source, set this
property:
cbi.include.source=false


Best regards,
Johannes
Re: How can I avoid source jars in feature exports? [message #500245 is a reply to message #500224] Wed, 25 November 2009 13:40 Go to previous messageGo to next message
John is currently offline JohnFriend
Messages: 107
Registered: July 2009
Senior Member
Hi Johannes!


Thanks for the quick response. It almost works.

I have a feature with one plugin.
Without setting cbi.include.source I get a source jar for both the feature and the plugin.
When setting cbi.include.source=false I no longer get a source jar for the plugin, but I still get one for the feature.
Can I get rid of this also?

Thanks.

/John
Re: How can I avoid source jars in feature exports? [message #500305 is a reply to message #500245] Wed, 25 November 2009 15:55 Go to previous messageGo to next message
Thomas Hallgren is currently offline Thomas HallgrenFriend
Messages: 3240
Registered: July 2009
Senior Member
Hi John,
Could it be that you get hit by https://bugs.eclipse.org/bugs/show_bug.cgi?id=292968 ?

It was fixed some time ago so the latest version available at http://download.eclipse.org/tools/buckminster/updates-3.5
should contain the fix.

HTH,
Thomas Hallgren

On 2009-11-25 14:40, John wrote:
> Hi Johannes!
>
>
> Thanks for the quick response. It almost works.
>
> I have a feature with one plugin.
> Without setting cbi.include.source I get a source jar for both the
> feature and the plugin.
> When setting cbi.include.source=false I no longer get a source jar for
> the plugin, but I still get one for the feature.
> Can I get rid of this also?
>
> Thanks.
>
> /John
Re: How can I avoid source jars in feature exports? [message #500329 is a reply to message #500224] Wed, 25 November 2009 16:28 Go to previous messageGo to next message
John is currently offline JohnFriend
Messages: 107
Registered: July 2009
Senior Member
Hi Thomas!


Thanks for the reply, it sounds very likely.

However, I did download my version on Nov 3rd in the evening.
Since I can't do this from work due to our proxy, I did it from home and don't update that frequent.
I will try do download a new version tonight.

The version I currently run has the following plugins:

org.eclipse.buckminster.ant_1.1.350.r10862
org.eclipse.buckminster.jdt_1.0.0.r10628
org.eclipse.buckminster.pde_1.1.360.r10878

org.eclipse.buckminster.cmdline_1.0.350.r10356.jar
org.eclipse.buckminster.core_1.1.350.r10861.jar
org.eclipse.buckminster.download_1.1.0.r10860.jar
org.eclipse.buckminster.executor_1.0.0.r10356.jar
org.eclipse.buckminster.fetcher_1.0.0.r10356.jar
org.eclipse.buckminster.generic_1.0.0.r10356.jar
org.eclipse.buckminster.installer_1.0.350.r10864.jar
org.eclipse.buckminster.jarprocessor_1.0.0.r10579.jar
org.eclipse.buckminster.maven_1.1.350.r10865.jar
org.eclipse.buckminster.opml_1.0.0.r10356.jar
org.eclipse.buckminster.osgi.filter_1.0.0.r10619.jar
org.eclipse.buckminster.runtime_1.1.0.r10798.jar
org.eclipse.buckminster.sax_1.0.0.r10356.jar


/John
Re: How can I avoid source jars in feature exports? [message #500943 is a reply to message #500224] Mon, 30 November 2009 12:15 Go to previous message
John is currently offline JohnFriend
Messages: 107
Registered: July 2009
Senior Member
Hi Thomas!


I downloaded a new version of Buckminster this morning.
I still get a source jar for the feature.
So maybe the fix isn't in the version I can download?

Here's the new list of plugin versions (the bold ones are new as of this morning):


org.eclipse.buckminster.ant_1.1.350.r10862
org.eclipse.buckminster.jdt_1.0.0.r10628
org.eclipse.buckminster.pde_1.1.360.r10895

org.eclipse.buckminster.cmdline_1.0.350.r10881.jar
org.eclipse.buckminster.core_1.1.350.r10920.jar
org.eclipse.buckminster.download_1.1.0.r10860.jar
org.eclipse.buckminster.executor_1.0.0.r10356.jar
org.eclipse.buckminster.fetcher_1.0.0.r10356.jar
org.eclipse.buckminster.generic_1.0.0.r10356.jar
org.eclipse.buckminster.installer_1.0.350.r10864.jar
org.eclipse.buckminster.jarprocessor_1.0.0.r10579.jar
org.eclipse.buckminster.maven_1.1.350.r10865.jar
org.eclipse.buckminster.opml_1.0.0.r10356.jar
org.eclipse.buckminster.osgi.filter_1.0.0.r10619.jar
org.eclipse.buckminster.runtime_1.1.0.r10798.jar
org.eclipse.buckminster.sax_1.0.0.r10356.jar

/John
Previous Topic:No component named xxx.yyy.zzz:eclipse.feature is known
Next Topic:Shipping a configured eclipse IDE to my colleagues
Goto Forum:
  


Current Time: Fri Apr 26 05:55:46 GMT 2024

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

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

Back to the top