FAQ Search Today's Posts Mark Forums Read

» Linux Archive
Home
New Posts
Search
FAQ


Go Back   Linux Archive > Redhat > Fedora Packaging

 
 
LinkBack Thread Tools
 
Old 05-30-2008, 11:07 PM
"Sergio Pascual"
 
Default eclipse plugin without feature.xml

Hello, I'm trying to package a eclipse plugin called veditor. I have
followed the guidelines in wiki/Packaging/EclipsePlugins
The zip with the source code contains a file plugin.xmll but doesn't
contain feature.xml. When building,

%{eclipse_base}/buildscripts/pdebuild -f net.sourceforge.veditor

fails, because feature.xml doesn't exist. How do I build with
plugin.xml but without feature.xml?

Regards, Sergio

--
Fedora-packaging mailing list
Fedora-packaging@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-packaging
 
Old 06-02-2008, 03:36 PM
Andrew Overholt
 
Default eclipse plugin without feature.xml

Hi

On Sat, 2008-05-31 at 00:07 +0200, Sergio Pascual wrote:
> Hello, I'm trying to package a eclipse plugin called veditor. I have
> followed the guidelines in wiki/Packaging/EclipsePlugins
> The zip with the source code contains a file plugin.xmll but doesn't
> contain feature.xml. When building,
>
> %{eclipse_base}/buildscripts/pdebuild -f net.sourceforge.veditor
>
> fails, because feature.xml doesn't exist. How do I build with
> plugin.xml but without feature.xml?

Until package-build (a wrapper around PDE Build) supports building
plugins which have no containing feature, you'll either need to spoof up
a feature.xml like eclipse-quickrex -- and offer it to upstream,
please -- or build like the following but with a spoofed
build/assemble.net.sourceforge.veditor.all.xml (look for another simple
package's generated one for inspiration):

# See attached patch
patch < veditorbuild.patch
ant -f buildjavacc.xml
# This next bit is essentially what pde-build wraps
eclipse -nosplash -Duser.home=`pwd`/home
-application org.eclipse.ant.core.antRunner
-Dtype=plugin -Did=net.sourceforge.veditor
-DsourceDirectory=$(pwd)
-DbaseLocation=$SDK
-Dbuilder=/usr/share/eclipse/plugins/org.eclipse.pde.build/templates/package-build
-DjavacSource=1.5 -DjavacTarget=1.5
-f /usr/share/eclipse/plugins/org.eclipse.pde.build/scripts/build.xml

HTH,

Andrew
--
Fedora-packaging mailing list
Fedora-packaging@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-packaging
 

Thread Tools




All times are GMT. The time now is 08:38 AM.

VBulletin, Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org