[appengine-java] Re: Trying a clean compile gives The parameter is incorrect
In Eclipse, go to Project / Properties menu. Go to Google / App Engine / ORM setting. It probably is set to src/ (using this setting DataNucleus puts all class files on its classpath). Instead restrict the folders (or patterns) to just the folders or file name patterns for your files that need enhancing. Hopefully, you've put them in one or just a couple of packages or named them with a common naming scheme so the fix is then trivial. If you have tons of classes you may still run in to problems, but it solved my issues. Hope it helps. On Apr 8, 8:04 pm, dreamy dreamy2c...@gmail.com wrote: As you said, when Enhance classes is little ,there is OK, but when Enhance classes has many many(ex: 200 classes) ,the same problem is appear. how to do with it? -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: Trying a clean compile gives The parameter is incorrect
As you said, when Enhance classes is little ,there is OK, but when Enhance classes has many many(ex: 200 classes) ,the same problem is appear. how to do with it? -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: Trying a clean compile gives The parameter is incorrect
Thanks to the guys on the GWT forum for helping me solve this problem. It did turn out to be a classpath problem and there follows an explanation of the steps I took to discover the issue and how I solved it: To find out the classpath used: In Eclipse select Debug view by going to Window|Open Perspective|Debug and then select the debug window by going to Window|Show View|Debug then right click the last item in the list shown and select properties I found that my appengine SDK path was being references about 21 times as: C:\Program Files\eclipse\plugins \com.google.appengine.eclipse.sdkbundle. 1.3.2_1.3.2.v201003241245\appengine-java-sdk-1.3.2 so I copied it to C:\appengine-java-sdk-1.3.2 And then linked to it by doing the following: In Eclipse select the Java view by going to Window|Open Perspective| Java and then select the project properties by going to Project| Properties then select Google|App Engine and click on Configure SDK's then click Add on the right hand side and select the path you just created eg C:\appengine-java-sdk-1.3.2 and add a Display Name eg Short App Engine SDK. Click OK as needed to close all the windows, and everything should start working again!!! Good Luck, John On Apr 5, 5:20 pm, John V Denley johnvden...@googlemail.com wrote: Im on the train now... hoping my connection holds up, but just incase it helps, I have now rolled back to a version of the code that I comiled and deployed successfully last night, and Im still getting this error, so something else has changed, and its not me thats changed it... this must be something that Eclipse or Java compiler is picking up from somewhere else!. On Apr 5, 3:54 pm, John V Denley johnvden...@googlemail.com wrote: What is this message telling me? 'DataNucleus Enhancer' has encountered a problem Cannot run program C:\Program Files\Java\jre6\bin\javaw.exe (in directory C:\Documents and Settings\John\My Documents\_DeBa\ideba \iDeBanet): CreateProcess error=87, The parameter is incorrect Cannot run program C:\Program Files\Java\jre6\bin\javaw.exe (in directory C:\Documents and Settings\John\My Documents\_DeBa\ideba \iDeBanet): CreateProcess error=87, The parameter is incorrect I cant seem to find anything helpful anywhere on the web, all I can find is suggestions that my classpath is too long for windows, but I dont know where to figure out what my classpath length is, plus its not THAT big a project, so im surprised ive hit any kind of limit, although I HAVE just included one additional *.java file in my client directory, but I have tried taking that out and recompiling clean, and its still happening! Is this aGWTproblem? or an Eclipse problem or a Java problem? Any pointers would be really helpful, as i have a deadline for tomorrow, the code is all done, I just cant seem to deploy it! Thanks, John PS Im posting this on theGWTgrouptoo, as I have to catch a train now, and will be back later to see if anyone has replied! -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: Trying a clean compile gives The parameter is incorrect
Im on the train now... hoping my connection holds up, but just incase it helps, I have now rolled back to a version of the code that I comiled and deployed successfully last night, and Im still getting this error, so something else has changed, and its not me thats changed it... this must be something that Eclipse or Java compiler is picking up from somewhere else!. On Apr 5, 3:54 pm, John V Denley johnvden...@googlemail.com wrote: What is this message telling me? 'DataNucleus Enhancer' has encountered a problem Cannot run program C:\Program Files\Java\jre6\bin\javaw.exe (in directory C:\Documents and Settings\John\My Documents\_DeBa\ideba \iDeBanet): CreateProcess error=87, The parameter is incorrect Cannot run program C:\Program Files\Java\jre6\bin\javaw.exe (in directory C:\Documents and Settings\John\My Documents\_DeBa\ideba \iDeBanet): CreateProcess error=87, The parameter is incorrect I cant seem to find anything helpful anywhere on the web, all I can find is suggestions that my classpath is too long for windows, but I dont know where to figure out what my classpath length is, plus its not THAT big a project, so im surprised ive hit any kind of limit, although I HAVE just included one additional *.java file in my client directory, but I have tried taking that out and recompiling clean, and its still happening! Is this aGWTproblem? or an Eclipse problem or a Java problem? Any pointers would be really helpful, as i have a deadline for tomorrow, the code is all done, I just cant seem to deploy it! Thanks, John PS Im posting this on theGWTgrouptoo, as I have to catch a train now, and will be back later to see if anyone has replied! -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.