Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [smila-user] How to add Pipelet to SMILA distribution

No, I don't have any idea about the error.

But I believe the unpacking is only necessary, if you want to use the bundle in a target platform definition in the Eclipse PDE.
Just for runtime purposes a packed bundle containing jars should be fine. Did you test if the build with the packed bundle works?

Regards,
Jürgen

-----Original Message-----
From: smila-user-bounces@xxxxxxxxxxx [mailto:smila-user-bounces@xxxxxxxxxxx] On Behalf Of Stephan Mehlhase
Sent: Thursday, February 16, 2012 4:10 PM
To: Smila project user mailing list
Subject: Re: [smila-user] How to add Pipelet to SMILA distribution

Hi,

thanks for your replies. With unpack="true" I'll get the following error 
during the build:

/home/stephan/smila/eclipse-target/plugins/org.eclipse.pde.build_3.7.0.v20110512-1320/scripts/productBuild/productBuild.xml:45: 
The following error occurred while executing this line:
/home/stephan/smila/eclipse-target/plugins/org.eclipse.pde.build_3.7.0.v20110512-1320/scripts/build.xml:129: 
The following error occurred while executing this line:
/home/stephan/smila/svn/core/SMILA.builder/customTargets.xml:19: The 
following error occurred while executing this line:
/home/stephan/smila/eclipse-target/plugins/org.eclipse.pde.build_3.7.0.v20110512-1320/scripts/productBuild/allElements.xml:20: 
The following error occurred while executing this line:
/home/stephan/smila/eclipse-target/plugins/org.eclipse.pde.build_3.7.0.v20110512-1320/scripts/genericTargets.xml:197: 
The following error occurred while executing this line:
/home/stephan/smila/svn/core/smila.build/package.org.eclipse.pde.build.container.feature.all.xml:26: 
The following error occurred while executing this line:
/home/stephan/smila/svn/core/smila.build/package.org.eclipse.pde.build.container.feature.all.xml:15: 
The following error occurred while executing this line:
/home/stephan/smila/eclipse-target/plugins/org.eclipse.pde.build_3.7.0.v20110512-1320/scripts/productBuild/allElements.xml:75: 
The following error occurred while executing this line:
/home/stephan/smila/svn/core/smila.build/package.org.eclipse.pde.build.container.feature.linux.gtk.x86.xml:100: 
The following error occurred while executing this line:
/home/stephan/smila/svn/core/smila.build/package.org.eclipse.pde.build.container.feature.linux.gtk.x86.xml:587: 
/home/stephan/smila/svn/core/smila.build/tmp/plugins/<id-of-my-pipelet> 
does not exist.

With unpack="false" the build succeeds (the pipelets are included in the 
distribution) but not unpacked (wich is neccessary, I guess, as we JARs 
are included in the bundle).

Any ideas?

Best,
Stephan

On 02/16/2012 03:46 PM, Thomas Menzel wrote:
> Hi,
>
>> The values of the other entries are not relevant, just copy them from another element.
>
> Note quite. In case you bundle contains jars, just must check "unpack".
>
> Thomas Menzel @ brox IT-Solutions GmbH
>
>
> -----Original Message-----
> From: smila-user-bounces@xxxxxxxxxxx [mailto:smila-user-bounces@xxxxxxxxxxx] On Behalf Of Jürgen Schumacher
> Sent: Donnerstag, 16. Februar 2012 15:41
> To: Smila project user mailing list
> Subject: Re: [smila-user] How to add Pipelet to SMILA distribution
>
> Hi,
>
> Yes, you have to add a<plugin ...>  entry to a feature.xml to add your bundle to the build.
>
> in Eclipse, you can just double-click the feature.xml and add bundles on the "Plug-Ins" page. If your bundle is in IAS.extensions, you may have to do a reload of the target platform before: Window ->  Preferences ->  Plug-In Development/Target Platform, select the active target and click reload.
>
> If you need to do it manually: The id attribute of the<plugin>  element must be set to "Bundle-SymbolicName" in the MANIFEST.MF of your bundle. The values of the other entries are not relevant, just copy them from another element.
>
> Cheers,
> Jürgen.
>
> -----Original Message-----
> From: smila-user-bounces@xxxxxxxxxxx [mailto:smila-user-bounces@xxxxxxxxxxx] On Behalf Of Stephan Mehlhase
> Sent: Thursday, February 16, 2012 3:32 PM
> To: Smila project user mailing list
> Subject: Re: [smila-user] How to add Pipelet to SMILA distribution
>
> Hi,
>
> could you elaborate what I have to add were?
> I'm a bit lost. I guess I have to add them to the feature.xml? And the files are picked automatically from the plugins directory according to this XML and get packaged? What is the id, where do I set it and how does it gets recognized in the JAR file (in the Manifest there is no id field).
>
> Best,
> Stephan
>
>
> On 02/16/2012 02:15 PM, Thomas Menzel wrote:
>> Have u added them to the o.e.smila.extension.feature?
>>
>> Thomas Menzel @ brox IT-Solutions GmbH
>>
>>
>> -----Original Message-----
>> From: smila-user-bounces@xxxxxxxxxxx
>> [mailto:smila-user-bounces@xxxxxxxxxxx] On Behalf Of Stephan Mehlhase
>> Sent: Donnerstag, 16. Februar 2012 11:51
>> To: Smila project user mailing list
>> Subject: [smila-user] How to add Pipelet to SMILA distribution
>>
>> Hi,
>>
>> I'm building a SMILA distribution from source code, how can I add my own bundle such that they are automatically bundled and can be used directly when installing the generated distribution.
>>
>> I found on the wiki to put the bundles into SMILA.extension/eclipse/plugins but they won't show up in the generated ZIP file.
>>
>> Stephan
>>
>> --
>> Stephan Mehlhase
>>
>> European Media Laboratory GmbH
>> Schloss-Wolfsbrunnenweg 35
>> 69118 Heidelberg
>>
>> Amtsgericht Mannheim / HRB 335719
>> Managing Partner: Dr. h. c. Dr.-Ing. E. h. Klaus Tschira, Scientific
>> and Managing
>> Director: Prof. Dr.-Ing. Andreas Reuter
>>
>> http://www.eml-development.de
>>
>> Testen Sie auch unsere neue Android Applikation zur Mediensteuerung:
>> http://market.android.com/search?q=pname:org.eml.upnp
>>
>> _______________________________________________
>> smila-user mailing list
>> smila-user@xxxxxxxxxxx
>> https://dev.eclipse.org/mailman/listinfo/smila-user
>>
>>
>> http://www.Taglocity.com Tags: smila
>> _______________________________________________
>> smila-user mailing list
>> smila-user@xxxxxxxxxxx
>> https://dev.eclipse.org/mailman/listinfo/smila-user
>
>
> --
> Stephan Mehlhase
>
> European Media Laboratory GmbH
> Schloss-Wolfsbrunnenweg 35
> 69118 Heidelberg
>
> Amtsgericht Mannheim / HRB 335719
> Managing Partner: Dr. h. c. Dr.-Ing. E. h. Klaus Tschira, Scientific and Managing
> Director: Prof. Dr.-Ing. Andreas Reuter
>
> http://www.eml-development.de
>
> Testen Sie auch unsere neue Android Applikation zur Mediensteuerung:
> http://market.android.com/search?q=pname:org.eml.upnp
>
> _______________________________________________
> smila-user mailing list
> smila-user@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/smila-user
> _______________________________________________
> smila-user mailing list
> smila-user@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/smila-user
> _______________________________________________
> smila-user mailing list
> smila-user@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/smila-user


-- 
Stephan Mehlhase

European Media Laboratory GmbH
Schloss-Wolfsbrunnenweg 35
69118 Heidelberg

Amtsgericht Mannheim / HRB 335719
Managing Partner: Dr. h. c. Dr.-Ing. E. h. Klaus Tschira, Scientific and 
Managing
Director: Prof. Dr.-Ing. Andreas Reuter

http://www.eml-development.de

Testen Sie auch unsere neue Android Applikation zur Mediensteuerung:
http://market.android.com/search?q=pname:org.eml.upnp

_______________________________________________
smila-user mailing list
smila-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/smila-user

Back to the top