I recently updated my MP3 Manager Eclipse RCP demo to version 3.7.0.
These things are new:
* Java WebStart support (launcher see below)
* New target platform Eclipse 3.7.0
* Integrated Tycho 0.12.0 build
* 3.7.0 compliant headless p2-enabled build
* 3.7.0 target definition project
The binaries, sources, svn access etc. you find at the project home page.
You can launch the demo directly with the launch button below using Java WebStart, but a few restrictions apply:
* p2 does not work well together with WebStart and is not included
* Restarting the client using the dynamic language switcher does not work
* No demo song included
This Post Has 18 Comments
First – thank you so very much for maintaining this example. I’ve been trying to teach myself Maven and Tycho, and seeing a working project has been a huge help to me. I’ve learned a lot just going through the POMs and learning how it all hangs together.
How do you go about “exploring” the Maven plugins and their configuration? For example, if I find myself looking for a plugin, I find myself Googling around, going through the Maven website, reading mailing lists, even checking out source to find plugins and decipher how they work. It works, though it feels overly complicated for the goals of a system like this. Is that what you wind up doing to, or am I going down a hard path?
Even if you don’t have time to respond to my question, again, thank you for all your effort in building this and sharing it!
Launcher doesn’t work for Mac, because certain platform specific dependencies (carbon) could not be downloaded from the server.
Hi Michel, I’ll take a look at it. I already have an idea…
Neither does it work on Linux, same reason of missing deps…
@Markus Alexander Kuppe
I am currently running a new build with all platforms enabled. Please try again in one hour. Then hopefully Linux, MAC etc. should work…
Works now. Exciting stuff.
Great to hear 🙂
What do you mean with: ‘3.7.0 compliant headless p2-enabled build’?
My understanding about headless build with p2-enabled is related to Tycho. But if you use PDEbuild you won’t have p2-enabled available.
@Juan, I actually have 3 different builds in the demo: p2-enabled PDE based product build (this one I mean above), p2-enabled Tycho based build, and a JNLP feature PDE build for creating the WebStart demo. In the last build I did not include p2 stuff since WebStart has it’s own provisioning mechanism.
thank you for the great example. This is the first project which uses maven that compiles nearly out of the box (tried some others in the past, neither worked). It runs fine on ubuntu 64bit. Especially I’m interested in tycho. The only thing I am missing is at least one example JUnit test. Maybe you could include one in a further update.
Greetings from the Lake Constance (Bodensee), Daniel.
Hi Kai —
I would love to browse your example but the url for the trac site no longer seems to work?
During my vacation there was an issue with the dns, now it is available again. Sorry for the inconvenience.
I could not download or start the Mp3 Manager launcher from the links provided. can you please check on the server. — Thanks
Will fix this tomorrow, server seems to be down…
I am not able to launch the demo, it says ‘The server at max-server.myftp.org is taking too long to respond’. Must be something wrong with the server?
Feels good to be a part of Java and peoples like you,
Keep up the good work,
God bless you.
Thank you for all of the information and examples! I am trying to build a freestanding, jnlp-deployed GEF example application with Maven (trying to avoid the necessity of manual exports from Eclipse), but have been unable to get a successful deployment. I have been searching for and was very excited to find your demo – it looks like exactly what I need.
I was unable to launch the MP3 Manager demo from the “Launch” button above, however (fails with org.osgi.framework.BundleException: The activator org.eclipse.ui.internal.WorkbenchPlugin for bundle org.eclipse.ui.workbench is invalid … I have omitted the stack trace but ultimately it is caused by a ClassNotFoundException: org.eclipse.swt.SWTError). I am running 64-bit jdk1.7.0_09. Then, I downloaded the project and built it (had to modify the keystore in the pom.xml to point to mine & give the storepass; also build failed in next-to-last subproject but I changed tycho-version to 0.16.0 and rebuilt successfully. Now, I found that the following 4 lines were commented out in the pom.xml for com.siemens.ct.mp3m.tycho.parent in svn:
I uncommented them and built again (successfully), but cannot see where/if there is a deployment packaged for webstart. So – some questions:
How should this be built for jnlp? (I have been building with “mvn clean install” from the com.siemens.ct.mp3m.tycho.parent directory).
Was I correct in uncommenting the above lines? Are there any other changes needed to build the demo for jnlp?
Where are the results found for jnlp, after the build? Is it in a ready-to-deploy package, or does one need to find jnlp files from other locations?
When the user clicks on the jnlp file, are there any dependencies/requirements for the local environment, or should it just download & run?
The 4 lines I commented out above showed only the values, not the tags, after I submitted my comment. I don’t see any way to denote them as code, so for clarity, this is what they were (substituting html codes for less-than, greater-than characters). Hopefully this works; I didn’t see a way to preview it: