Problems with setting ODK Aggregate as a Java project

Hi guys,
I downloaded from your repo version 1.4.7 of the Aggregate app. I've more
or less successfully set up the project and it is now happily running.

  1. A bug.
    First thing is, in the build/build.xml, line 22, the SDK is trying to
    download from the link that is not longer valid:

https://storage.googleapis.com/appengine-sdks/featured/appengine-java-sdk-1.9.18.zip

The link for 1.9.18 now is "deprecated" so the proper link is:

https://storage.googleapis.com/appengine-sdks/deprecated/appengine-java-sdk-1.9.18.zip

or the one pointing to newer version.
2. A problem.
I am using Aggregate with PostgreSQL and Tomcat. It is running on tomcat
now (although not launched from inside eclipse because of dependency
problems,
just by coping postgres war to /webapps) and I can upload form, submissions
etc.

But, when I try to add new functionalities somewhere in the
/src/org/aggregate(...),
Eclipse tells me, that the aggregate parent project in not a Java project
(just a maven one).
It means that I'm basically using my Eclipse as a notepad, because classes
are not connected to each other and "aggregate is not a proper compilation
unit."

I tried to follow the description from Configure.txt step by step. Did I
missed something or is this expected behaviour?
How can I make this project behave like a Java project?

Best Regards,
Anna

The CONFIGURE.txt describes the steps for setting up an eclipse GAE project
that is debuggable and/or a Maven build of the tools.

Definitely get the Eclipse AppEngine dev environment working before
advancing to MySQL or PostgreSQL.

Note that the Maven build environment uses a different set of projects than
the Eclipse development workspace does.
The only thing that overlaps is the AppEngine configuration project, but
even that uses an Ant script for Eclipse that isn't used for the Maven
builds.

For MySQL or PostgreSQL development environment, see the the SETUP.txt in
the eclipse-aggregate-mysql folder (the MySQL dev environment project).
It describes the steps I use for setting up a MySQL project within Eclipse.

In the distant past, the GWT tools did not work smoothly outside of an
AppEngine development environment, so I have generally done all the code
changes in the AppEngine environment and only set up the MySQL or
PostgreSQL environments when debugging quirks specific to those
environments (e.g., background publishers).

Otherwise, I would run the maven builds and just confirm operations of the
tools on those other systems, rather than do my development against them.

··· On Mon, Jul 27, 2015 at 6:49 AM, Anna Wałach wrote:

Hi guys,
I downloaded from your repo version 1.4.7 of the Aggregate app. I've more
or less successfully set up the project and it is now happily running.

  1. A bug.
    First thing is, in the build/build.xml, line 22, the SDK is trying to
    download from the link that is not longer valid:

https://storage.googleapis.com/appengine-sdks/featured/appengine-java-sdk-1.9.18.zip

The link for 1.9.18 now is "deprecated" so the proper link is:

https://storage.googleapis.com/appengine-sdks/deprecated/appengine-java-sdk-1.9.18.zip

or the one pointing to newer version.
2. A problem.
I am using Aggregate with PostgreSQL and Tomcat. It is running on tomcat
now (although not launched from inside eclipse because of dependency
problems,
just by coping postgres war to /webapps) and I can upload form,
submissions etc.

But, when I try to add new functionalities somewhere in the
/src/org/aggregate(...),
Eclipse tells me, that the aggregate parent project in not a Java project
(just a maven one).
It means that I'm basically using my Eclipse as a notepad, because classes
are not connected to each other and "aggregate is not a proper compilation
unit."

I tried to follow the description from Configure.txt step by step. Did I
missed something or is this expected behaviour?
How can I make this project behave like a Java project?

Best Regards,
Anna

--
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/d/optout.

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

Hi all,
The correction provided by Anna does not work now. I tried to download the
current version (1.9.34) of the appengine. Do you know if it is compatible
with the ODK aggregate?

It is available
at https://storage.googleapis.com/appengine-sdks/featured/appengine-java-sdk-1.9.34.zip

Best regards

··· El lunes, 27 de julio de 2015, 15:49:58 (UTC+2), Anna Wałach escribió: > > Hi guys, > I downloaded from your repo version 1.4.7 of the Aggregate app. I've more > or less successfully set up the project and it is now happily running. > 1. *A bug.* > First thing is, in the build/build.xml, line 22, the SDK is trying to > download from the link that is not longer valid: > >> >> https://storage.googleapis.com/appengine-sdks/featured/appengine-java-sdk-1.9.18.zip >> > The link for 1.9.18 now is "deprecated" so the proper link is: > >> >> https://storage.googleapis.com/appengine-sdks/deprecated/appengine-java-sdk-1.9.18.zip > > or the one pointing to newer version. > 2. *A problem.* > I am using Aggregate with PostgreSQL and Tomcat. It is running on tomcat > now (although not launched from inside eclipse because of dependency > problems, > just by coping postgres war to /webapps) and I can upload form, > submissions etc. > > But, when I try to add new functionalities somewhere in the > /src/org/aggregate(...), > Eclipse tells me, that the aggregate parent project in not a Java project > (just a maven one). > It means that I'm basically using my Eclipse as a notepad, because classes > are not connected to each other and "aggregate is not a proper compilation > unit." > > I tried to follow the description from Configure.txt step by step. Did I > missed something or is this expected behaviour? > How can I make this project behave like a Java project? > > Best Regards, > Anna >

Massive changes have been made to the ODK Aggregate project for the
v1.4.8 release.

See the CONFIGURE.TXT for how to set up the completely-reworked development
and build environments.

··· On Tue, Apr 12, 2016 at 4:10 AM, Francisco J. Lacueva < francisco.jose.lacueva@gmail.com> wrote:

Hi all,
The correction provided by Anna does not work now. I tried to download
the current version (1.9.34) of the appengine. Do you know if it is
compatible with the ODK aggregate?

It is available at
https://storage.googleapis.com/appengine-sdks/featured/appengine-java-sdk-1.9.34.zip

Best regards

El lunes, 27 de julio de 2015, 15:49:58 (UTC+2), Anna Wałach escribió:

Hi guys,
I downloaded from your repo version 1.4.7 of the Aggregate app. I've more
or less successfully set up the project and it is now happily running.

  1. A bug.
    First thing is, in the build/build.xml, line 22, the SDK is trying to
    download from the link that is not longer valid:

https://storage.googleapis.com/appengine-sdks/featured/appengine-java-sdk-1.9.18.zip

The link for 1.9.18 now is "deprecated" so the proper link is:

https://storage.googleapis.com/appengine-sdks/deprecated/appengine-java-sdk-1.9.18.zip

or the one pointing to newer version.
2. A problem.
I am using Aggregate with PostgreSQL and Tomcat. It is running on tomcat
now (although not launched from inside eclipse because of dependency
problems,
just by coping postgres war to /webapps) and I can upload form,
submissions etc.

But, when I try to add new functionalities somewhere in the
/src/org/aggregate(...),
Eclipse tells me, that the aggregate parent project in not a Java project
(just a maven one).
It means that I'm basically using my Eclipse as a notepad, because
classes are not connected to each other and "aggregate is not a proper
compilation unit."

I tried to follow the description from Configure.txt step by step. Did I
missed something or is this expected behaviour?
How can I make this project behave like a Java project?

Best Regards,
Anna

--
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/d/optout.

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