-
15. Re: JPDL Eclipse Graphical Editor - problem building.
kukeltje Jul 24, 2006 6:36 AM (in response to falazar)I downloaded and installed a command line CVS client, that IS needed (I thought the error was because of firewall issues). Besides that, the checkout.jbpm.repository is configured to have CVS commit rights. I think it should be changed to anoncvs. Otherwise a commandline SSH is also needed.
One thing I observe again is the need to have a JAVA_HOME set for some tasks, when building from eclipse (3.2), which COULD point to a different JVM. Is this wanted behaviour? I think not. Another thing is that there is an unknown target all.doc in the userguid build.xml
I Will set JAVA_HOME again and see what the result is -
16. Re: JPDL Eclipse Graphical Editor - problem building.
kukeltje Jul 24, 2006 7:01 AM (in response to falazar)hmmm.... why do I need a command line ZIP tool as well? Doesn't ant all provide this??? (unzipping seems to work for the eclipse stuff ). So zip, ssh, and cvs are all needed on the commandline?
-
17. Re: JPDL Eclipse Graphical Editor - problem building.
koen.aers Jul 24, 2006 1:49 PM (in response to falazar)You don't need 'a' zip tool on the command line or 'a' cvs client, but the exact same zip tool and cvs client as specified by the Eclipse PDE build guidelines. So I think we should collectively booh the Eclipse PDE team on this one indeed...
Nevertheless, I have some good news that Tom will like a lot. I have worked my way around the requirement to checkout the plugin and feature projects during the Eclipse build. If you checkout the entire jbpm.3 tree and invoke the build.xml in the build project, no cvs checkout will happen during the GPD build. So it becomes faster and faster. What currently takes most of the time is the Eclipse installation. I will see what I can do to work around this too so that it only happens when the Eclipse configuration has changed.
Regards,
Koen -
18. Re: JPDL Eclipse Graphical Editor - problem building.
kukeltje Jul 25, 2006 1:47 PM (in response to falazar)About the good news, I pointed the new eclipse.home to the eclipse instance I'm running in (so a kind of 'this'). When doing a full build, I get some exeptions about a data file in one of the eclipse plugin dirs. After that, this eclipse instances will not startup any more. The <eclipse.home>/configuration/config.ini is GONE. So one advise, do not do this in a running or needed eclipse instance.
-
19. Re: JPDL Eclipse Graphical Editor - problem building.
kukeltje Jul 25, 2006 3:13 PM (in response to falazar)taking a completely fresh install of eclipse 3.2 with gpd 3.0.11, gave me the following error when doing a fresh cvs checkout and build
run-eclipse-plugin-builder:
[java] java.lang.NoClassDefFoundError: org/eclipse/core/launcher/Main
[java] Exception in thread "main"
[java] Java Result: 1
The eclipse.home in the build.properties points to what is initially an empty dir. after the build there are 5 text files 0 bytes large with the following names
eclipse-SDK-3.2-win32.zip.txt
emf-sdo-xsd-SDK-2.2.0.zip.txt
GEF-SDK-3.2.zip.txt
JEM-SDK-1.2.zip.txt
wtp-sdk-R-1.5.0-200606281455.zip.txt -
20. Re: JPDL Eclipse Graphical Editor - problem building.
koen.aers Jul 25, 2006 5:34 PM (in response to falazar)And did you do the get.dependencies? Are the Ecipse files in your local repository? Normally not only the text files should be there but also the unzipped content of all the Eclipse files...
The files are a way to explicitly keep track of the Eclipse/WTP/GEF/... configuration. If this configuration changes, the eclipse.home folder is erased and the fresh Eclipse configuration is installed. This allowed me yesterday to do a complete build of all the jBPM artifacts in less than 3 minutes. But maybe there is still a bug in it of course...
Anyone else seeing the same thing?
Regards,
Koen -
21. Re: JPDL Eclipse Graphical Editor - problem building.
koen.aers Jul 25, 2006 5:38 PM (in response to falazar)By the way... I still have to document this stuff in a readme..
-
22. Re: JPDL Eclipse Graphical Editor - problem building.
falazar Aug 3, 2006 3:52 PM (in response to falazar)Ok, just got back around to working on this now.
We got the 3.2 built, installed and working, and now are trying to build this again.
Where do we go from here?
The readme file about ready?
We are running this on a Linux system, and I tried to do a general build in the
jbpm-3.2/designer/jpdl/org.jbpm.gd.jpdl.build
and it created a bunch of C:/ files and directories.
Where is it telling it to treat this as windows?
We have run the get.dependencies as well.
The
jbpm-3.2/repository/eclipse contains
> du
48322 ./emf-sdo-xsd/2.2.0
48324 ./emf-sdo-xsd
11906 ./gef/3.2
11908 ./gef
5426 ./jem/1.2
5428 ./jem
246962 ./sdk/3.2
246964 ./sdk
100386 ./webtools/1.5
100388 ./webtools
So any pointers from here would be great :}
Is the deployer for the CVS gpd working?
James Ratcliff -
23. Re: JPDL Eclipse Graphical Editor - problem building.
koen.aers Aug 4, 2006 3:08 AM (in response to falazar)James,
Have a look at the build.properties file in the first level build project. More in particular there is a eclipse.home and jboss.home property that should point to the folder you want...
Regards,
Koen -
24. Re: JPDL Eclipse Graphical Editor - problem building.
falazar Aug 7, 2006 11:53 AM (in response to falazar)I have now gotten up to the same error as he had here:
run-eclipse-plugin-builder:
[java] java.lang.NoClassDefFoundError: org/eclipse/core/launcher/Main
[java] Exception in thread "main"
[java] Java Result: 1
All get dependencies have gone through fine.
What is this section dependent on from the docbook.support resources. Thats what we were just having problems building on this system, until we upgraded the CVS version.
James Ratcliff -
25. Re: JPDL Eclipse Graphical Editor - problem building.
jonabbey Aug 7, 2006 7:37 PM (in response to falazar)We've now had success in building the eclipse plugin.
The biggest thing we needed to do is to make sure that inheritall is turned on where the designer/jpdl/org.jbpm.gd.jpdl.build/build.xml file passes properties to the gpd.userguide build,
and to modify designer/jpdl/org.jbpm.gd.jpdl.docs/gpd.userguide/build.xml so that it looks for the the docbook-support/support.xml file relative to ${local.repository}, rather than ${user.home}. This after pulling the docbook support pieces down, of course.
We also had to make sure that we specified the ${eclipse.home} property in build/build.properties so that it matches the name that the eclipse-SDK-3.2-win32.zip is exploded to (i.e., we had to use "eclipse" rather than "eclipse_build").
Now that we've got the
/designer/jpdl/org.jbpm.gd.jpdl.build/target/workspace/plugins/org.jbpm.gd.jpdl.ui/ui.jar file generated, what do we do with it? -
26. Re: JPDL Eclipse Graphical Editor - problem building.
jonabbey Aug 7, 2006 7:52 PM (in response to falazar)One other thing we needed to do was to modify build/build.properties to define jbpm.3.location , which allows the jpdl/db artifact to build properly, even if we've integrated the jbpm-identity.jar and jbpm-jpdl.jar files into our local Ant installation (or into our CLASSPATH), so as to enable the eclipse plugin build to operate.
-
27. Re: JPDL Eclipse Graphical Editor - problem building.
koen.aers Aug 8, 2006 5:21 AM (in response to falazar)Can you post the modified files here in this thread. It might be interesting to commit those modifications to CVS so that others don't run into these very same issues...
Regards,
Koen -
28. Re: JPDL Eclipse Graphical Editor - problem building.
kukeltje Aug 8, 2006 7:10 PM (in response to falazar)Koen,
Some other small things regarding the GPD build:
- add the target dir to cvs ignore
- add the target/output dir for the classes to the .project file explicitly on the designer source tree and have it point to the same dir as in the ant file (that prevents the javac issue I posted before, which happend on the new ws dir I added locally as well until I added an explicit target/output dir. -
29. Re: JPDL Eclipse Graphical Editor - problem building.
koen.aers Aug 9, 2006 4:51 AM (in response to falazar)There should in fact not be a .project file on the level of the designer or designer/jpdl source tree. This cvs folder should IMO never be an Eclipse project.
Adding the target dir to .cvsignore is fine. Go ahead and do it! ;-)
Cheers,
Koen