|
|
|
wgrunberg
|
Dear deegree team,
I have pulled tibesti from SVN but have some difficulties compiling it in Eclipse with Ant. I did successfully compile deegree.jar and deegree-csw.war files in the past but may still miss obvious things. I have added my common Tomcat libraries and those in \webapps\tibesti\WEB-INF\lib and \webapps\tibesti_202\WEB-INF\lib to the Ant build path. In /scripts/ant/build.xml, I renamed <property name="config.file" value="tibesti-ipo.properties"/> to <property name="config.file" value="tibesti.properties"/> Otherwise, I have not changed anything. I can't load definitions from the missing source "net/sf/antcontrib/antcontrib.properties" and can't load the "format" SVN file (\scripts\ant\.svn\format) because it doesn't exist (I am using the latest SVN clients). However, I assume that both errors shouldn't fail the Ant script. Following is the build error that vexes me. BUILD FAILED C:\Workspace\deegree\tibesti\scripts\ant\build.xml:31: The following error occurred while executing this line: C:\Workspace\deegree\tibesti\scripts\ant\build.xml:364: Problem: failed to create task or type if Cause: The name is undefined. Action: Check the spelling. Action: Check that any custom tasks/types have been declared. Action: Check that any <presetdef>/<macrodef> declarations have taken place. The <if> statement appears to require access to a "format" SVN file - could this be the problem after all? Ciao, Wolfgang -- _______________________________ Wolfgang Grunberg Arizona Geological Survey [hidden email] 520-770-3500 ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ deegree-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/deegree-users |
|
Judit Mays
|
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1 Hello, could it be that you are missing ant-contrib (version 1.0b3 or higher)? You can get it from here: http://ant-contrib.sourceforge.net/ http://sourceforge.net/project/showfiles.php?group_id=36177&package_id=28636 If this does not solve the problem, please report back. kind regards, Judit Wolfgang Grunberg schrieb: > Dear deegree team, > > I have pulled tibesti from SVN but have some difficulties compiling it > in Eclipse with Ant. I did successfully compile deegree.jar and > deegree-csw.war files in the past but may still miss obvious things. > > I have added my common Tomcat libraries and those in > \webapps\tibesti\WEB-INF\lib and \webapps\tibesti_202\WEB-INF\lib to the > Ant build path. > In /scripts/ant/build.xml, I renamed <property name="config.file" > value="tibesti-ipo.properties"/> to <property name="config.file" > value="tibesti.properties"/> > Otherwise, I have not changed anything. > > I can't load definitions from the missing source > "net/sf/antcontrib/antcontrib.properties" and can't load the "format" > SVN file (\scripts\ant\.svn\format) because it doesn't exist (I am using > the latest SVN clients). However, I assume that both errors shouldn't > fail the Ant script. > Following is the build error that vexes me. > > BUILD FAILED > C:\Workspace\deegree\tibesti\scripts\ant\build.xml:31: The following > error occurred while executing this line: > C:\Workspace\deegree\tibesti\scripts\ant\build.xml:364: Problem: > failed to create task or type if > Cause: The name is undefined. > Action: Check the spelling. > Action: Check that any custom tasks/types have been declared. > Action: Check that any <presetdef>/<macrodef> declarations have > taken place. > > The <if> statement appears to require access to a "format" SVN file - > could this be the problem after all? > > Ciao, Wolfgang > Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkrFmBwACgkQ00HMccodrqXciACgiwg6Jf5qQnU1LAUVRoxaFLfo y4IAn04wIJWEL2hiP4ZXsTspW445y2/2 =R6J7 -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ deegree-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/deegree-users |
||||||||||||||||
|
wgrunberg
|
Some javascript/style in this post has been disabled (why?)
The build.xml was still using Eclipse's build-in Ant instead of Apache Ant (with ant-contrib.jar 1.0b3). I have now created webapps\configured-services\tibesti_200 with a "portal" and a "scripts" folder by running the copy-script-section and configure-tibesti-2.0.2. Ant "targets." Does the webapps\configured-services\tibesti_200\ folder contain the CSW 2.0.2 version? What DB schema(s) do I have to create? The tibesti_200\scripts\editor\postgres\csw_202\ folder appears to be missing create_csw_schema.sql. Should I use the one in tibesti_200\scripts\editor\postgres\csw_200\ or only use tibesti_200\scripts\portal\postgres\create_user-management_schema.sql? Thank you for your time! Ciao, Wolfgang _______________________________ Wolfgang Grunberg Arizona Geological Survey [hidden email] 520-770-3500 Judit Mays wrote: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello, could it be that you are missing ant-contrib (version 1.0b3 or higher)? You can get it from here: http://ant-contrib.sourceforge.net/ http://sourceforge.net/project/showfiles.php?group_id=36177&package_id=28636 If this does not solve the problem, please report back. kind regards, Judit Wolfgang Grunberg schrieb: ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ deegree-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/deegree-users |
||||||||||||||||
|
wgrunberg
|
In reply to this post
by Judit Mays
Some javascript/style in this post has been disabled (why?)
My apologies Judit.The build.xml was still using Eclipse's build-in Ant instead of Apache Ant (with ant-contrib.jar 1.0b3). I have now created webapps\configured-services\tibesti_200 with a "portal" and a "scripts" folder by running the copy-script-section and configure-tibesti-2.0.2. Ant "targets." Does the webapps\configured-services\tibesti_200\ folder contain the CSW 2.0.2 version? What DB schema(s) do I have to create? The tibesti_200\scripts\editor\postgres\csw_202\ folder appears to be missing create_csw_schema.sql. Should I use the one in tibesti_200\scripts\editor\postgres\csw_200\ or only use tibesti_200\scripts\portal\postgres\create_user-management_schema.sql? Thank you for your time! Ciao, Wolfgang _______________________________ Wolfgang Grunberg Arizona Geological Survey [hidden email] 520-770-3500 Judit Mays wrote: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello, could it be that you are missing ant-contrib (version 1.0b3 or higher)? You can get it from here: http://ant-contrib.sourceforge.net/ http://sourceforge.net/project/showfiles.php?group_id=36177&package_id=28636 If this does not solve the problem, please report back. kind regards, Judit Wolfgang Grunberg schrieb: ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ deegree-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/deegree-users |
||||||||||||||||
| Free Embeddable Forum Powered by Nabble | Help |