[ODK Developers] Re: Local modification of ODK Aggregate

Once you have it working for GAE dev environment, you can copy the entire
eclipse-aggregate-gae/war directory over to a Tomcat server and then
replace the .../lib/odk-gae-settings-latest.jar with one configured for
MySQL. See
http://code.google.com/p/opendatakit/wiki/AggregateDeploymentConfigurationfor
a description of the files in this configuration jar.

Mitch

··· On Sun, Mar 10, 2013 at 9:04 PM, wrote:

Thank you for your response Mitch. As per CONFIGURE.txt file i'm currently
working with eclipse-aggregate-gae and odk-gae-setting and I've created a
new tab called "Emergency" along with Preferences and Permissions where
user list can be added, edited and deleted. So for this purpose I'm
planning to use MySQL so how can i modify my current project to enable
MySQL as datastore. Any suggestions will be appreciated .
-thank you

--
You received this message because you are subscribed to the Google Groups
"ODK Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com

Again, during development, I have found it very difficult to set up a mysql
server running properly within Eclipse; I have given up and just do my
development using GAE.

Once you have code that works under GAE, to run under Tomcat:

(1) use an ODK Aggregate installer to generate a war file that will run
correctly on your Tomcat server.

(2) stop the server,

(3) go into the .../WEB-INF/lib folder and grab the
ODKAggregate-settings.jar from there.
This is the name for the configuration file holding the settings produced
by the installer.
Copy this file somewhere safe.

(4) delete the directory containing ODK Aggregate on the Tomcat server.

(5) copy the war directory from your Eclipse project into the Tomcat server.

(6) delete the odk-gae-settings-latest.jar file under the WEB-INF/lib
folder.

(7) copy the saved ODKAggregate-settings.jar file into the WEB-INF/lib
folder.

(8) restart your Tomcat server.

It should now be running the ODK Aggregate server as you have modified it.

Mitch

··· On Fri, Mar 15, 2013 at 4:14 AM, wrote:

Yeah I've imported those two project in eclipse work space and currently
working fine with odk-gae-setting project. But i want to work with MySQL
locally. I'm having difficulty configuring eclipse-aggregate-gae project
for MySQL i dunno how to create the jar file required for the
configuration. Will you please explain in detail.
Thank you

--
You received this message because you are subscribed to the Google Groups
"ODK Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com

That is beyond the level of support the core team can give.

··· On Sun, Mar 17, 2013 at 11:07 PM, wrote:

On Monday, March 18, 2013 9:44:21 AM UTC+5:45, rockr...@gmail.com wrote:

On Friday, March 15, 2013 10:39:20 PM UTC+5:45, Mitch wrote:

Again, during development, I have found it very difficult to set up a

mysql server running properly within Eclipse; I have given up and just

do my development using GAE.

Once you have code that works under GAE, to run under Tomcat:

(1) use an ODK Aggregate installer to generate a war file that will
run correctly on your Tomcat server.

(2) stop the server,

(3) go into the .../WEB-INF/lib folder and grab the
ODKAggregate-settings.jar from there.

This is the name for the configuration file holding the settings
produced by the installer.

Copy this file somewhere safe.

(4) delete the directory containing ODK Aggregate on the Tomcat server.

(5) copy the war directory from your Eclipse project into the Tomcat
server.

(6) delete the odk-gae-settings-latest.jar file under the WEB-INF/lib
folder.

(7) copy the saved ODKAggregate-settings.jar file into the WEB-INF/lib
folder.

(8) restart your Tomcat server.

It should now be running the ODK Aggregate server as you have modified
it.

Mitch

On Fri, Mar 15, 2013 at 4:14 AM, rockr...@gmail.com wrote:

Yeah I've imported those two project in eclipse work space and
currently working fine with odk-gae-setting project. But i want to work
with MySQL locally. I'm having difficulty configuring eclipse-aggregate-gae
project for MySQL i dunno how to create the jar file required for the
configuration. Will you please explain in detail.

Thank you

--

You received this message because you are subscribed to the Google
Groups "ODK Developers" group.

To unsubscribe from this group and stop receiving emails from it, send
an email to opendatakit-developers+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.

--

Mitch Sundt

Software Engineer

University of Washington

mitche...@gmail.com

Thank you Mitch :slight_smile: I really got my project working with MySQL

Hey i want to add a database table to the existing database but when i
write the code for creating table and inserting data in existing database
and try to compile in eclipse . The compilation is not completed
successfully what can i do to compile the extra database related code in
eclipse.

--
You received this message because you are subscribed to the Google Groups
"ODK Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com