Hi, I'm in the process of setting up a dev environment for ODK Aggregate.
I've followed the directions on this wiki page http://code.google.com/p/opendatakit/wiki/DevelopmentEnvironment and believe
I have things set up correctly. I can run the project by right clicking ->
Run As -> Web Application. I've run into a few problems and am hoping others
may give me some insight.
When I clean the project, I get this error message:
'DataNucleus Enhancer' has encountered a problem.
Cannot run program "C:...\javaw.exe" (in directory "C:...\odk-source"):
CreateProcess error=87, The parameter is incorrect
Before I started to try and track this down, I wanted to see if anyone else
has seen this previously.
Also, is there anyway of running ODK Aggregate without App Engine? We will
be using MySQL.
Finally, I was wondering if there were build instructions? In other words,
what tools are you using to wrap Aggregate into a war?
First, you should get Aggregate v1_0 running under a local GAE.
The Aggregate v1_0 that is checked in will build for AppEngine. The common
problem is that your GAE libraries are in a different path from those that
are configured in the checked-in classpath. To fix that, you need to (1) go
to the preferences and configure the GAE library for the workspace. It must
be 1.4.2 -- 1.4.3 is broken. Then, (2) go to project settings and select
the default 1.4.2 library.
After updating the odk-gae-settings.xml jar and copying it, you need to hit
Refresh in the Eclipse IDE to get it to notice the change.
You should then be able to run it as a "Web Application", log in, etc.
To configure it for MySQL, I am working on a migration to a maven-based
project structure that should make it easier.
The way to do it for now is to start with an empty workspace, clone the v1_0
tree, then delete the .settings and .classpath and .project files. Then
open Eclipse, select Create Project from existing sources, choose a Faceted
project with the Dynamic Web Module, and fiddle around a whole bunch.
Mitch
···
On Wed, Apr 27, 2011 at 10:42 AM, David Roberge wrote:
Hi, I'm in the process of setting up a dev environment for ODK Aggregate.
I've followed the directions on this wiki page http://code.google.com/p/opendatakit/wiki/DevelopmentEnvironment and
believe I have things set up correctly. I can run the project by right
clicking -> Run As -> Web Application. I've run into a few problems and am
hoping others may give me some insight.
When I clean the project, I get this error message:
'DataNucleus Enhancer' has encountered a problem.
Cannot run program "C:...\javaw.exe" (in directory "C:...\odk-source"):
CreateProcess error=87, The parameter is incorrect
Before I started to try and track this down, I wanted to see if anyone else
has seen this previously.
Also, is there anyway of running ODK Aggregate without App Engine? We will
be using MySQL.
Finally, I was wondering if there were build instructions? In other words,
what tools are you using to wrap Aggregate into a war?