I am already using an open source GWT project (iServe) and I would like to integrate into it another open source GWT project (PetalsBPM), by which I mean being able to call it and reference its methods.
Both projects (which include multiple modules) have been imported into Eclipse successfully, but whenever I try to add a specific PetalsBPM module (the one containing its entrypoint) to iServe through Properties -> Java Build Path -> Projects, although it does not cause any errors immediately, I cannot launch iServe anymore. It produces the following error:
"Exception occurred executing command line. Cannot run program "C:\Program Files\Java\jre7\bin\javaw.exe" (in directory "C:...iserve-sal-gwt-1.0.0-SNAPSHOT"): CreateProcess error=206, The filename or extension is too long"
Trying to figure out the source of this error, I attempted to simplify the problem, so I performed the following moves:
Based on the above, I ‘m guessing that the problem is that each of the modules I m trying to integrate is based on many other modules, so their “sum” ends up too big. But I don’t know how to fix such a problem.
I have read elsewhere to try and set java forking to false, and disable enhancements, but I don’t know how to do the first or if it would help, and my project does not use Google’s AppEngine (or ORM)
Any help would be appreciated!