Problem with plugin-feature [message #228872] |
Tue, 05 May 2009 09:43 |
Eclipse User |
|
|
|
Originally posted by: cayla_sha.gmx.net
Hello,
I have a problem with the building of the plugin.
I use Eclipse 3.4.2 and everything what you find on the
gmf-download-site under "latest releases" (GMF 2.1.3).
With Eclipse 3.4.1 everything worked fine.
This is what I do:
- I make a new "Feature-Project"
- I add my three gmf-projects under "plug-ins"
- first strange thing: when I want to compute the Dependencies, it
computes nothing. When I did this with Eclipse 3.4.1 I had about 20
plug-ins in this list.
- Then I make a new "Update Site Project"
- I add my feature and click "Build All"
- Then I open a brand-new unzipped Eclipse 3.4.2
- Help -> Software Updates -> Add Site -> Local... -> folder of the
site-project
- first everyting seams normal: it asks me, if I accept my Copyright and
it calculates the right dependencies, downloads and installs them.
- short before the Install-Process is complete, I get this Error:
"An error occurred while collecting item to be installed
Error closing the output stream for
de.pvs.cms.editor.feature/org.eclipse.update.feature/1.0.0 on repository
file:/<Path to Eclipse>.
Error unzipping <Path to my Local
Profile> \LOKALE~1\Temp\de.pvs.cms.editor.feature_1.0.071409672728819 3918.jar:
Invalid zip file format"
I already googled for this problem. The only guy who had the exact same
problem got the hint, that the feature project should also have a
META-INF-Folder with a MANIFEST.MF.
I tried to build my own MANIFEST.MF, this is how it looks like:
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: de.pvs.cms.editor.feature
Bundle-SymbolicName: de.pvs.cms.editor.feature;singleton:=true
Bundle-Version: 1.0
Bundle-ClassPath: .
Bundle-Vendor: Uni Augsburg - PVS
Bundle-Localization: feature
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
Bundle-ActivationPolicy: lazy
But it didn`t help, the Error still occurs.
Any ideas?
Does anybody have the same problem?
Does anybody know, who should have more information about this, like, a
more suitable newsgroup for this problem?
Best wishes
Julia
|
|
|
Re: Problem with plugin-feature [message #229090 is a reply to message #228872] |
Thu, 07 May 2009 08:29 |
Eclipse User |
|
|
|
Originally posted by: cayla_sha.gmx.net
No one any idea?
C'mon y'all need to build the plugin. How do you do this? Does it work
with 3.4.2?
Are you abel to compute the dependencies in the Feature-Project?
At least, can anyone tell me if it's right that the Feature-Project
needs a MANIFEST.MF? Perhaps I'm on the right way, but my MANIFEST.MF is
wrong...?
I really NEED this. The Update Site Project must work. And I need it
asap. I already spend so much time in finding the solution. I googled it
so many times. I tried so many different things. There must be a solution.
Cayla Sha schrieb:
> Hello,
>
> I have a problem with the building of the plugin.
> I use Eclipse 3.4.2 and everything what you find on the
> gmf-download-site under "latest releases" (GMF 2.1.3).
> With Eclipse 3.4.1 everything worked fine.
>
> This is what I do:
> - I make a new "Feature-Project"
> - I add my three gmf-projects under "plug-ins"
> - first strange thing: when I want to compute the Dependencies, it
> computes nothing. When I did this with Eclipse 3.4.1 I had about 20
> plug-ins in this list.
>
> - Then I make a new "Update Site Project"
> - I add my feature and click "Build All"
>
> - Then I open a brand-new unzipped Eclipse 3.4.2
> - Help -> Software Updates -> Add Site -> Local... -> folder of the
> site-project
> - first everyting seams normal: it asks me, if I accept my Copyright and
> it calculates the right dependencies, downloads and installs them.
> - short before the Install-Process is complete, I get this Error:
> "An error occurred while collecting item to be installed
> Error closing the output stream for
> de.pvs.cms.editor.feature/org.eclipse.update.feature/1.0.0 on repository
> file:/<Path to Eclipse>.
> Error unzipping <Path to my Local
> Profile> \LOKALE~1\Temp\de.pvs.cms.editor.feature_1.0.071409672728819 3918.jar:
> Invalid zip file format"
>
> I already googled for this problem. The only guy who had the exact same
> problem got the hint, that the feature project should also have a
> META-INF-Folder with a MANIFEST.MF.
> I tried to build my own MANIFEST.MF, this is how it looks like:
> Manifest-Version: 1.0
> Bundle-ManifestVersion: 2
> Bundle-Name: de.pvs.cms.editor.feature
> Bundle-SymbolicName: de.pvs.cms.editor.feature;singleton:=true
> Bundle-Version: 1.0
> Bundle-ClassPath: .
> Bundle-Vendor: Uni Augsburg - PVS
> Bundle-Localization: feature
> Bundle-RequiredExecutionEnvironment: JavaSE-1.6
> Bundle-ActivationPolicy: lazy
> But it didn`t help, the Error still occurs.
>
> Any ideas?
> Does anybody have the same problem?
> Does anybody know, who should have more information about this, like, a
> more suitable newsgroup for this problem?
>
> Best wishes
> Julia
|
|
|
Re: Problem with plugin-feature [message #229312 is a reply to message #229090] |
Sun, 10 May 2009 10:10 |
Eclipse User |
|
|
|
Originally posted by: cayla_sha.gmx.net
[SOVLED]
I found the reason.
Eclipse gave all my plugins automatically the versions "1.0.0". I
thought this looks a bit stupid and decided to change it into "1.0". All
my plugins and also the feature had the version 1.0.
But Eclipse still searched during the installation for a file named
"....feature_1.0.0.jar", what -of course- not exists.
*GRML* 4 days of work for such a stupid problem... *face palm*
|
|
|
Powered by
FUDForum. Page generated in 0.06843 seconds