Eclipse Projects Setup for Aggregate MySQL

Hi all,

I'm trying to get Eclipse setup with Maven projects for Aggregate MySQL.

I've cloned the repository and i'm on the default branch (rev 1759). I'm
using eclipse Juno and i have the Maven plugin installed for eclipse.

I would like to modify the SubmissionServlet for some prototying and then
would like to build and generate the jar file containing this class. I will
then manually install this (replace the appropriate jar file on a server
running aggregate (MySql).

I've read the CONFIGURE.txt file carefully and it seems to be geared
heavily for GAE. Will the minimal setup instructions work for my scenario?
Specifically step3, importing eclipse-aggregate-gae and odk-gae-settings
projects) as i thought that the mysql projects would need to be imported
instead?

I have read previous posts and there has not been any specific instructions
posted that relate to setting up eclipse with the right projects
specifically for MySql. These are some of the posts of come across so far:

https://groups.google.com/forum/#!searchin/opendatakit-developers/build$20aggregate$20mysql/opendatakit-developers/HFprZhpwI_E/SNMFbrX6xu0J<#%21searchin/opendatakit-developers/build$20aggregate$20mysql/opendatakit-developers/HFprZhpwI_E/SNMFbrX6xu0J>

https://groups.google.com/forum/#!searchin/opendatakit-developers/build$20aggregate$20mysql/opendatakit-developers/I6VKC3SD-JY/Qg4zQJInU60J<#%21searchin/opendatakit-developers/build$20aggregate$20mysql/opendatakit-developers/I6VKC3SD-JY/Qg4zQJInU60J>

Has someone had any success in building in eclipse with Maven, specically
for Aggregate MySql?

Any help would be appreciated.

Leon

Leon,
I made some sense of using ODK locally using MySQL by installing Tomcat
first and using the windows-x86..msi installer for ODK Aggregate. As far
as using with Eclipse, so far I have not had any luck but i'm new

··· On Tuesday, November 26, 2013 4:23:08 AM UTC-5, Leon Wende wrote: > > Hi all, > > I'm trying to get Eclipse setup with Maven projects for Aggregate MySQL. > > I've cloned the repository and i'm on the default branch (rev 1759). I'm > using eclipse Juno and i have the Maven plugin installed for eclipse. > > I would like to modify the SubmissionServlet for some prototying and then > would like to build and generate the jar file containing this class. I will > then manually install this (replace the appropriate jar file on a server > running aggregate (MySql). > > I've read the CONFIGURE.txt file carefully and it seems to be geared > heavily for GAE. Will the minimal setup instructions work for my scenario? > Specifically step3, importing eclipse-aggregate-gae and odk-gae-settings > projects) as i thought that the *mysql* projects would need to be imported > instead? > > I have read previous posts and there has not been any specific > instructions posted that relate to setting up eclipse with the right > projects specifically for MySql. These are some of the posts of come > across so far: > > > https://groups.google.com/forum/#!searchin/opendatakit-developers/build$20aggregate$20mysql/opendatakit-developers/HFprZhpwI_E/SNMFbrX6xu0J<#ebac9d5a-6701-48d5-a476-9df9f7f264df@googlegroups.com_%21searchin/opendatakit-developers/build$20aggregate$20mysql/opendatakit-developers/HFprZhpwI_E/SNMFbrX6xu0J> > > > https://groups.google.com/forum/#!searchin/opendatakit-developers/build$20aggregate$20mysql/opendatakit-developers/I6VKC3SD-JY/Qg4zQJInU60J<#ebac9d5a-6701-48d5-a476-9df9f7f264df@googlegroups.com_%21searchin/opendatakit-developers/build$20aggregate$20mysql/opendatakit-developers/I6VKC3SD-JY/Qg4zQJInU60J> > > Has someone had any success in building in eclipse with Maven, specically > for Aggregate MySql? > > Any help would be appreciated. > > Leon >

Leon,

The short answer is no.

There is a lot of extra fiddling you need to do to develop under a server
other than GAE. I hope things have changed over the last few years -- GWT
development was very very difficult outside GAE in the early years.

If you do the full Maven setup, it does build and run tests on all 3
configurations. When I build the install image, I use the war file under
aggregate-mysql/target/ as the basis for the MSI installer codeset.

Although a contributor gave me a more conformant maven directory structure
over a year ago, I haven't had time to restructure the project to match
that, move everything to gradle (should make the multiple integration and
unit test setups easier to specify and run), and explore setting up an
eclipse non-GAE development environment.

Mitch

··· On Thu, Jan 30, 2014 at 6:46 AM, Chris Cargile wrote:

Leon,
I made some sense of using ODK locally using MySQL by installing Tomcat
first and using the windows-x86..msi installer for ODK Aggregate. As far
as using with Eclipse, so far I have not had any luck but i'm new

On Tuesday, November 26, 2013 4:23:08 AM UTC-5, Leon Wende wrote:

Hi all,

I'm trying to get Eclipse setup with Maven projects for Aggregate MySQL.

I've cloned the repository and i'm on the default branch (rev 1759). I'm
using eclipse Juno and i have the Maven plugin installed for eclipse.

I would like to modify the SubmissionServlet for some prototying and then
would like to build and generate the jar file containing this class. I will
then manually install this (replace the appropriate jar file on a server
running aggregate (MySql).

I've read the CONFIGURE.txt file carefully and it seems to be geared
heavily for GAE. Will the minimal setup instructions work for my scenario?
Specifically step3, importing eclipse-aggregate-gae and odk-gae-settings
projects) as i thought that the mysql projects would need to be imported
instead?

I have read previous posts and there has not been any specific
instructions posted that relate to setting up eclipse with the right
projects specifically for MySql. These are some of the posts of come
across so far:

https://groups.google.com/forum/#!searchin/opendatakit-
developers/build$20aggregate$20mysql/opendatakit-developers/HFprZhpwI_E/
SNMFbrX6xu0J<#143e39dcfb9f5866_ebac9d5a-6701-48d5-a476-9df9f7f264df@googlegroups.com_%21searchin/opendatakit-developers/build$20aggregate$20mysql/opendatakit-developers/HFprZhpwI_E/SNMFbrX6xu0J>

https://groups.google.com/forum/#!searchin/opendatakit-
developers/build$20aggregate$20mysql/opendatakit-developers/I6VKC3SD-JY/
Qg4zQJInU60J<#143e39dcfb9f5866_ebac9d5a-6701-48d5-a476-9df9f7f264df@googlegroups.com_%21searchin/opendatakit-developers/build$20aggregate$20mysql/opendatakit-developers/I6VKC3SD-JY/Qg4zQJInU60J>

Has someone had any success in building in eclipse with Maven,
specically for Aggregate MySql?

Any help would be appreciated.

Leon

--
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