mvn build error for jspresso sample hr app example..

3 posts / 0 new
Last post
sasi
Offline
Joined: 08/10/2010
mvn build error for jspresso sample hr app example..

Hi All,

 

Can any one help me on the below error.The following error is cominh when iam trying to build the sample hr application from scrath as described in the jspresso documentation.after creating intial directory and then typing mvn package it runs for a while(like downloading mvn artifacts and failing for quooxdo.

 

 

INFO] [dependency:unpack-dependencies {execution: unpack-qooxdoo-sdk}]

INFO] Unpacking C:\Documents and Settings\Sri\.m2\repository\org\qooxdoo\qooxdo

-sdk\1.1\qooxdoo-sdk-1.1.zipto

C:\jspresso2\hrsample\startup\qooxdoo\client\target\qooxdoo-sdk

ith Includes null and excludes:null

INFO] [dependency:unpack-dependencies {execution: unpack-qooxdoo-contribs}]

INFO] Unpacking C:\Documents and Settings\Sri\.m2\repository\org\qooxdoo\qooxdo

-collapsable-panel\0.5\qooxdoo-collapsable-panel-0.5.zipto

C:\jspresso2\hrsample\startup\qooxdoo\client\target\qooxdoo-collapsable-panel-z

p

ith Includes null and excludes:null

INFO] Unpacking C:\Documents and Settings\Sri\.m2\repository\org\qooxdoo\qooxdo

-upload-widget\0.5\qooxdoo-upload-widget-0.5.zipto

C:\jspresso2\hrsample\startup\qooxdoo\client\target\qooxdoo-upload-widget-zip

ith Includes null and excludes:null

INFO] [exec:exec {execution: compile-qooxdoo}]

INFO] 'python' is not recognized as an internal or external command,

INFO] operable program or batch file.

INFO] ------------------------------------------------------------------------

ERROR] BUILD ERROR

INFO] ------------------------------------------------------------------------

INFO] Result of cmd.exe /X /C "python C:\jspresso2\hrsample\startup\qooxdoo\cli

nt\target/qooxdoo-sdk/tool/bin/generator.py source-all,build" execution is: '1'

 

INFO] ------------------------------------------------------------------------

INFO] For more information, run Maven with the -e switch

 

 

 

Than ks & Regards

Sasi.

atao
Offline
Joined: 10/15/2008
mvn build error for jspresso sample hr app example..

Sasi,

Maven tries to launch python but can't find it. So could you check that:

- a python runtime is installed

  Under Windows, ActivePython is a good one and very easy to install

  see http://www.activestate.com/activepython

- python is available from the command line, ie the Windows path contains the path to the repertory where Python is installed.

  note: ActivePython installation program does the job automatically

Regards

Pierre

sasi
Offline
Joined: 08/10/2010
jspresso error-hrsample app integration in eclipse 3.5

Hi All,

Tahnks for your suggestions(Pierre) for my previous posts,Iam able to resolve the errors with your suggestions.

Now iam getting below exception after  importing hrsample app into my eclipse.

Iam able to resolve error 2 by changing java compiler in eclipse to 1.5 instead of 1.6...but is their any standard way to resove this error 2 issue?

tried couple of times by cleaning and building the project,but same result..looking for your help.

 

environment details:

eclipse 3.5 galielo version

Java 1.6

maven 2.2.1

error 1:

*******************************************

The project was not built since its build path is incomplete. Cannot find the class file for org.jspresso.framework.application.startup.AbstractFrontendStartup. Fix the build path then try building this project hrsample Unknown Java Problem

*******************************************


error 2:

*******************************************

Description Resource Path Location Type

Java compiler level does not match the version of the installed Java project facet. hrsample Unknown Faceted Project Problem (Java Version Mismatch)


*******************************************

Regards

Sasi.