|
|
|
|
|
|
|
Re: Empty bundle dependecies after upgrading VTS to 3.5.0.M2 [message #831137 is a reply to message #814965] |
Wed, 28 March 2012 14:15 |
Martin W. Messages: 10 Registered: June 2011 |
Junior Member |
|
|
Hi everybody,
@ Miles:
Quote:wiki.eclipse.org/Virgo/Tooling#Special_Note.
I think the anchor Special_Note does not exist on that website...
@ Leo:
Quote:Today's snapshot builds have some fixes to better support Virgo 3.5. Definitely update if you get a chance.
I suppose the "Installation Steps (for the snapshot builds)" on the above site should include the Virgo update site: ...virgo/updatesite/3.5.0.M03 (M03 instead of M02).
@ My Problem:
I keep having the problem that my Bundle Dependencies are empty: in project properties, Java Build Path, Libraries, Bundle Dependencies: contains no JARs or referenced projects. Sometimes only JARs are missing but referenced projects are there. But the same JARs are there for other bundle projects (having the same runtime configuration)
Therefore, when I press 'Add' in the Manifest's Wizard, I see no packages to add. Existing imports are often marked as missing. Removing them and adding them (manually, in the textual view) sometimes solves the problem. However, next time I start Eclipse, the problem is usually back.
I tried to vary the following:
IDEs:
- Eclipse (eclipse-jee-indigo-SR1-win32-x86_64)
- SpringSource Tool Suite (springsource-tool-suite-2.9.1.RELEASE-e3.7.2-win32-x86_64)
Virgo:
- virgo-tomcat-server-3.0.2.RELEASE
- virgo-tomcat-server-3.5.0.M03
Tooling: (cf. wiki.eclipse.org/Virgo/Tooling)
- Installation Steps (for the milestone builds)
- Installation Steps (for the snapshot builds) --- except that I used the update site for 3.5.0.M03 (as I wrote above)
Can anybody give me a hint in which combination of IDE/Virgo/Tooling it should work best? Or which log files should I look into?
Thanks in advance for your replies!
All the best,
Martin
|
|
|
|
|
Re: Empty bundle dependecies after upgrading VTS to 3.5.0.M2 [message #832767 is a reply to message #832209] |
Fri, 30 March 2012 15:04 |
Martin W. Messages: 10 Registered: June 2011 |
Junior Member |
|
|
Thanks Leo! I also tried with M02 version of server and snapshot Virgo tooling now. I checked the Target Runtimes and Bundle Dependencies... No success.
Take a look at the attached screenshot: I have two bundles, both require dependencies from a Jena library, which I put in the repository. Both bundles can be deployed and started successfully. Still, for one of the two bundles, the wizard tells me that the Import-Packages cannot be resolved.
(I created a Jena-Library-JAR using bndtools, all required dependencies were taken from the SpringSource Bundle Repository. I used a fresh installation of Eclipse with the latest snapshot of Virgo Tooling, and in the workspace there are only one server and only one server runtime environment.)
Interestingly, the very same bundles work perfectly fine with an old installation of SpringSource Tool Suite 2.8.1, Virgo 3.0.1, and Virgo tooling 1.0.0.201110312003-SNAPSHOT. I just tried once again, starting from a fresh workspace in that installation. Everything is fine there. (EDIT: Web Application Bundles seem to make trouble already with Virgo 3.0.2 and this version of tooling.)
Afterwards, I started the other installation with 1.0.0.201203202115-SNAPSHOT, created a new 3.5.0.M03 server (same files in repository/usr), and imported all the bundles form the first workspace. I can clean, build, and deploy my bundles - no errors occur so far. Also after restarting Eclipse.
However: Once I open the wizard for one of my manifests and add a whitespace somewhere, and save the file: the errors are back: "Import-Package: ... cannot be resolved" and bundle dependencies are empty again. (There are no errors in the workspace .metadata/.log)
Should I file a bug?
All the best,
Martin
[Updated on: Fri, 30 March 2012 16:53] Report message to a moderator
|
|
|
|
Re: Empty bundle dependecies after upgrading VTS to 3.5.0.M2 [message #834514 is a reply to message #832767] |
Mon, 02 April 2012 03:16 |
Jay Huang Messages: 20 Registered: February 2012 |
Junior Member |
|
|
Martin W. wrote on Fri, 30 March 2012 11:04Thanks Leo! I also tried with M02 version of server and snapshot Virgo tooling now. I checked the Target Runtimes and Bundle Dependencies... No success.
Take a look at the attached screenshot: I have two bundles, both require dependencies from a Jena library, which I put in the repository. Both bundles can be deployed and started successfully. Still, for one of the two bundles, the wizard tells me that the Import-Packages cannot be resolved.
(I created a Jena-Library-JAR using bndtools, all required dependencies were taken from the SpringSource Bundle Repository. I used a fresh installation of Eclipse with the latest snapshot of Virgo Tooling, and in the workspace there are only one server and only one server runtime environment.)
Interestingly, the very same bundles work perfectly fine with an old installation of SpringSource Tool Suite 2.8.1, Virgo 3.0.1, and Virgo tooling 1.0.0.201110312003-SNAPSHOT. I just tried once again, starting from a fresh workspace in that installation. Everything is fine there. (EDIT: Web Application Bundles seem to make trouble already with Virgo 3.0.2 and this version of tooling.)
Afterwards, I started the other installation with 1.0.0.201203202115-SNAPSHOT, created a new 3.5.0.M03 server (same files in repository/usr), and imported all the bundles form the first workspace. I can clean, build, and deploy my bundles - no errors occur so far. Also after restarting Eclipse.
However: Once I open the wizard for one of my manifests and add a whitespace somewhere, and save the file: the errors are back: "Import-Package: ... cannot be resolved" and bundle dependencies are empty again. (There are no errors in the workspace .metadata/.log)
Should I file a bug?
All the best,
Martin
I am having the same problem with 3.5.0.M2, sometimes changing something in MANIFET.MF, changing it back and saving it resolves the error, but sometimes don't, especially when your server is up.
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.06092 seconds