I was able to clone the repository using the Mercury clone now i have the
code.
I have followed the Configuration.txt - Minimal Eclipse Setup
instructions . But these instructions talk about deploying the app onto
Google App Engine.
But i do have a Remote Instance on Linux box where i have installed
ODKAggregate and mysql.
Now, my questions what steps do i need to take to build war on my local
source code. I think few of them might be
- First change the configuration files so that it points to mysql
instance and change the security.properties to be same as the one Installed
from Linux box. Not sure which project i need to update
odk-mysql-it-settings/odk-mysql-settings
- Second is how shall i generate the war file ? I have no clue on maven.
I was able to look into a posting from last year and tried out installing
Maven for eclipse.
I have got odk-mysql-it-settings, aggregate-src, aggregate-mysqlprojects in my workspace.(I was not sure either to get
aggregate-src/eclipse-aggregate-gae as aggregate-src did not had any code
where as eclipse-aggregate-gae has the source code)
With these changes, I have run "Run As -> maven install" to build the
aggregate-mysql project from within Eclipse and i get below errors.
[INFO]
···
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 2:45.359s
[INFO] Finished at: Thu Mar 21 23:22:15 PDT 2013
[INFO] Final Memory: 6M/17M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal on project odk-mysql-settings: Could not
resolve dependencies for project
org.opendatakit:odk-mysql-settings:jar:latest: The following artifacts
could not be resolved: com.google.gdata:gdata-client-1.0:jar:1.47.1,
com.google.gdata:gdata-client-meta-1.0:jar:1.47.1,
com.google.gdata:gdata-core-1.0:jar:1.47.1,
com.google.gdata:gdata-docs-3.0:jar:1.47.1,
com.google.gdata:gdata-docs-meta-3.0:jar:1.47.1,
com.google.gdata:gdata-maps-2.0:jar:1.47.1,
com.google.gdata:gdata-maps-meta-2.0:jar:1.47.1,
com.google.gdata:gdata-media-1.0:jar:1.47.1,
com.google.gdata:gdata-spreadsheet-3.0:jar:1.47.1,
com.google.gdata:gdata-spreadsheet-meta-3.0:jar:1.47.1,
com.googlecode.gwt-google-maps-v3:gwt-google-maps-v3:jar:snapshot,
com.google.gwt.google-apis:gwt-visualization:jar:1.1.1,
org.javarosa:javarosa-libraries:jar:latest,
org.opendatakit:odk-httpclient-gae:jar:1.1,
org.opendatakit:odk-tomcatutil:jar:1.0,
org.openid4java:openid4java-nodeps:jar:0.9.6.662.odk-SNAPSHOT,
org.springframework.security:spring-security-config:jar:3.1.3.odk-SNAPSHOT,
org.springframework.security:spring-security-core:jar:3.1.3.odk-SNAPSHOT,
org.springframework.security:spring-security-crypto:jar:3.1.3.odk-SNAPSHOT,
org.springframework.security:spring-security-openid:jar:3.1.3.odk-SNAPSHOT,
org.springframework.security:spring-security-web:jar:3.1.3.odk-SNAPSHOT:
Failure to find com.google.gdata:gdata-client-1.0:jar:1.47.1 in
http://repo1.maven.org/maven2 was cached in the local repository,
resolution will not be reattempted until the update interval of central has
elapsed or updates are forced -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
Thanks
On Thursday, March 21, 2013 9:43:14 PM UTC-7, sDay wrote:
Can someone help me in Building ODKAggregate.war
I have used the below link to setup Aggregate Eclipse project.
I was able to clone the repository using the Mercury clone now i have the
code.
I have followed the Configuration.txt - Minimal Eclipse Setup
instructions . But these instructions talk about deploying the app onto
Google App Engine.
But i do have a Remote Instance on Linux box where i have installed
ODKAggregate and mysql.
Now, my questions what steps do i need to take to build war on my local
source code. I think few of them might be
- First change the configuration files so that it points to mysql
instance and change the security.properties to be same as the one Installed
from Linux box. Not sure which project i need to update
odk-mysql-it-settings/odk-mysql-settings
- Second is how shall i generate the war file ? I have no clue on
HI Mitch,
Thanks for replying, I was not able to find readme.txt in
src/main/libs. I was trying to include the src folder to my workspace but
was not successful. Can you also let me know where is the code which is
being used to parse xForm to Tables.
Thanks,
sDay.
···
On Thursday, March 21, 2013 9:43:14 PM UTC-7, sDay wrote:
>
>
> Can someone help me in Building ODKAggregate.war
>
> 1. I have used the below link to setup Aggregate Eclipse project.
>
> http://code.google.com/p/opendatakit/wiki/AggregateEclipseProjectSetup
>
> I was able to clone the repository using the Mercury clone now i have the
> code.
>
> 2. I have followed the Configuration.txt - Minimal Eclipse Setup
> instructions . But these instructions talk about deploying the app onto
> Google App Engine.
>
>
> But i do have a Remote Instance on Linux box where i have installed
> ODKAggregate and mysql.
>
> Now, my questions what steps do i need to take to build war on my local
> source code. I think few of them might be
> - First change the configuration files so that it points to mysql
> instance and change the security.properties to be same as the one Installed
> from Linux box. Not sure which project i need to update
> odk-mysql-it-settings/odk-mysql-settings
>
> - Second is how shall i generate the war file ? I have no clue on
> maven.
>
> Thanks for your time.
> - sDay
>
>
···
On Thursday, March 21, 2013 9:43:14 PM UTC-7, sDay wrote:
>
>
> Can someone help me in Building ODKAggregate.war
>
> 1. I have used the below link to setup Aggregate Eclipse project.
>
> http://code.google.com/p/opendatakit/wiki/AggregateEclipseProjectSetup
>
> I was able to clone the repository using the Mercury clone now i have the
> code.
>
> 2. I have followed the Configuration.txt - Minimal Eclipse Setup
> instructions . But these instructions talk about deploying the app onto
> Google App Engine.
>
>
> But i do have a Remote Instance on Linux box where i have installed
> ODKAggregate and mysql.
>
> Now, my questions what steps do i need to take to build war on my local
> source code. I think few of them might be
> - First change the configuration files so that it points to mysql
> instance and change the security.properties to be same as the one Installed
> from Linux box. Not sure which project i need to update
> odk-mysql-it-settings/odk-mysql-settings
>
> - Second is how shall i generate the war file ? I have no clue on
> maven.
>
> Thanks for your time.
> - sDay
>
>
I was able to run "maven install" on all the modules (*
odk-mysql-it-settings*, aggregate-src, aggregate-mysql) but was not
able to generate the ODKAggregate.war . Can you list the steps to generate
ODKAggregate.war file.
Thanks,
Srikanth.
···
On Thursday, March 21, 2013 9:43:14 PM UTC-7, sDay wrote:
>
>
> Can someone help me in Building ODKAggregate.war
>
> 1. I have used the below link to setup Aggregate Eclipse project.
>
> http://code.google.com/p/opendatakit/wiki/AggregateEclipseProjectSetup
>
> I was able to clone the repository using the Mercury clone now i have the
> code.
>
> 2. I have followed the Configuration.txt - Minimal Eclipse Setup
> instructions . But these instructions talk about deploying the app onto
> Google App Engine.
>
>
> But i do have a Remote Instance on Linux box where i have installed
> ODKAggregate and mysql.
>
> Now, my questions what steps do i need to take to build war on my local
> source code. I think few of them might be
> - First change the configuration files so that it points to mysql
> instance and change the security.properties to be same as the one Installed
> from Linux box. Not sure which project i need to update
> odk-mysql-it-settings/odk-mysql-settings
>
> - Second is how shall i generate the war file ? I have no clue on
> maven.
>
> Thanks for your time.
> - sDay
>
>
I was able to look into a posting from last year and tried out installing
Maven for eclipse.
I have got odk-mysql-it-settings, aggregate-src, aggregate-mysqlprojects in my workspace.(I was not sure either to get
aggregate-src/eclipse-aggregate-gae as aggregate-src did not had any code
where as eclipse-aggregate-gae has the source code)
With these changes, I have run "Run As -> maven install" to build the
aggregate-mysql project from within Eclipse and i get below errors.
[INFO]
[INFO] BUILD FAILURE
[INFO]
[INFO] Total time: 2:45.359s
[INFO] Finished at: Thu Mar 21 23:22:15 PDT 2013
[INFO] Final Memory: 6M/17M
[INFO]
[ERROR] Failed to execute goal on project odk-mysql-settings: Could not
resolve dependencies for project
org.opendatakit:odk-mysql-settings:jar:latest: The following artifacts
could not be resolved: com.google.gdata:gdata-client-1.0:jar:1.47.1,
com.google.gdata:gdata-client-meta-1.0:jar:1.47.1,
com.google.gdata:gdata-core-1.0:jar:1.47.1,
com.google.gdata:gdata-docs-3.0:jar:1.47.1,
com.google.gdata:gdata-docs-meta-3.0:jar:1.47.1,
com.google.gdata:gdata-maps-2.0:jar:1.47.1,
com.google.gdata:gdata-maps-meta-2.0:jar:1.47.1,
com.google.gdata:gdata-media-1.0:jar:1.47.1,
com.google.gdata:gdata-spreadsheet-3.0:jar:1.47.1,
com.google.gdata:gdata-spreadsheet-meta-3.0:jar:1.47.1,
com.googlecode.gwt-google-maps-v3:gwt-google-maps-v3:jar:snapshot,
com.google.gwt.google-apis:gwt-visualization:jar:1.1.1,
org.javarosa:javarosa-libraries:jar:latest,
org.opendatakit:odk-httpclient-gae:jar:1.1,
org.opendatakit:odk-tomcatutil:jar:1.0,
org.openid4java:openid4java-nodeps:jar:0.9.6.662.odk-SNAPSHOT,
org.springframework.security:spring-security-config:jar:3.1.3.odk-SNAPSHOT,
org.springframework.security:spring-security-core:jar:3.1.3.odk-SNAPSHOT,
org.springframework.security:spring-security-crypto:jar:3.1.3.odk-SNAPSHOT,
org.springframework.security:spring-security-openid:jar:3.1.3.odk-SNAPSHOT,
org.springframework.security:spring-security-web:jar:3.1.3.odk-SNAPSHOT:
Failure to find com.google.gdata:gdata-client-1.0:jar:1.47.1 in http://repo1.maven.org/maven2 was cached in the local repository,
resolution will not be reattempted until the update interval of central has
elapsed or updates are forced -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the
-e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
Thanks
On Thursday, March 21, 2013 9:43:14 PM UTC-7, sDay wrote:
Can someone help me in Building ODKAggregate.war
I have used the below link to setup Aggregate Eclipse project.
I was able to clone the repository using the Mercury clone now i have the
code.
I have followed the Configuration.txt - Minimal Eclipse Setup
instructions . But these instructions talk about deploying the app onto
Google App Engine.
But i do have a Remote Instance on Linux box where i have installed
ODKAggregate and mysql.
Now, my questions what steps do i need to take to build war on my local
source code. I think few of them might be
- First change the configuration files so that it points to mysql
instance and change the security.properties to be same as the one Installed
from Linux box. Not sure which project i need to update
odk-mysql-it-settings/odk-**mysql-settings
- Second is how shall i generate the war file ? I have no clue on
Keep in mind that the 'default' branch is not the actively-developed
branch, but is the last stable release.
'v1_3' is the currently active stable release tip ('v1_2', 'v1_1', 'v1_0'
are tips of no-longer-active stable releases).
When we get close to a release, the 'v1_3' tip will become unstable as we
merge changes from the active development tip into the stable tree (we do
final QA in the 'v1_3' tip, then, when we are stable there, we update
'default' to that tip and do our release).
For the latest-and-least-stable code, you want to update to the
'uiexperiment' branch.
All the xforms parsing and table construction code is in the package:
org.opendatakit.aggregate.parser
Chris and I have been working on that area of code to resolve an issue that
he's found on the current 1.3 release during his testing. So this tip may
be unstable as we work out the fix.
Mitch
···
On Fri, Mar 22, 2013 at 9:45 AM, sDay wrote:
HI Mitch,
Thanks for replying, I was not able to find readme.txt in
src/main/libs. I was trying to include the src folder to my workspace but
was not successful. Can you also let me know where is the code which is
being used to parse xForm to Tables.
Thanks,
sDay.
On Thursday, March 21, 2013 9:43:14 PM UTC-7, sDay wrote:
Can someone help me in Building ODKAggregate.war
I have used the below link to setup Aggregate Eclipse project.
I was able to clone the repository using the Mercury clone now i have the
code.
I have followed the Configuration.txt - Minimal Eclipse Setup
instructions . But these instructions talk about deploying the app onto
Google App Engine.
But i do have a Remote Instance on Linux box where i have installed
ODKAggregate and mysql.
Now, my questions what steps do i need to take to build war on my local
source code. I think few of them might be
- First change the configuration files so that it points to mysql
instance and change the security.properties to be same as the one Installed
from Linux box. Not sure which project i need to update
odk-mysql-it-settings/odk-**mysql-settings
- Second is how shall i generate the war file ? I have no clue on
What happens if you run maven install from the root directory (the one
containing pom.xml, gae-pom.xml, mysql-pom.xml and postgresql-pom.xml) ?
This will run through and build all the components.
Have you followed all the steps in the CONFIGURE.txt for setting up a "Full
Development Environment Configuration" ?
This includes registering all the modules in the src\main\libs directory.
And crafting a settings.xml file in your .m2 directory?
If you did not install and configure all the databases, you will need to
edit the top-level pom.xml and comment out the lines for the
databases you are not trying to build.
Mitch
···
On Mon, Mar 25, 2013 at 10:33 PM, sDay wrote:
I was able to run "maven install" on all the modules (*
odk-mysql-it-settings*, aggregate-src, aggregate-mysql) but was not
able to generate the ODKAggregate.war . Can you list the steps to generate
ODKAggregate.war file.
Thanks,
Srikanth.
On Thursday, March 21, 2013 9:43:14 PM UTC-7, sDay wrote:
Can someone help me in Building ODKAggregate.war
I have used the below link to setup Aggregate Eclipse project.
I was able to clone the repository using the Mercury clone now i have the
code.
I have followed the Configuration.txt - Minimal Eclipse Setup
instructions . But these instructions talk about deploying the app onto
Google App Engine.
But i do have a Remote Instance on Linux box where i have installed
ODKAggregate and mysql.
Now, my questions what steps do i need to take to build war on my local
source code. I think few of them might be
- First change the configuration files so that it points to mysql
instance and change the security.properties to be same as the one Installed
from Linux box. Not sure which project i need to update
odk-mysql-it-settings/odk-**mysql-settings
- Second is how shall i generate the war file ? I have no clue on