Opened 12 years ago

Last modified 12 years ago

#187 closed defect

SECORE deployment: missing libs.CopyLibs.classpath property — at Initial Version

Reported by: Piero Campalani Owned by: mrusu
Priority: major Milestone:
Component: secore Version:
Keywords: Cc: Peter Baumann
Complexity: Medium

Description

To install SECORE you need to run ./deploy from
~rasdaman/rasdaman/applications/secore.
When you run it, it says that you must set the property
libs.CopyLibs.classpath, which you can do (from secore-web/
directory) by running:

(1)$ ant -Dlibs.CopyLibs.classpath=/home/earthserver/rasdaman/applications/secore/secore-core/lib/org-netbeans-modules-java-j2seproject-copylibstask.jar

But then compilation fails because the servlet API library for java
is not in the path.
In theory, to add libraries in the ANT compilation you can add the
jar in $ANT_HOME/lib/ or in ~/.ant/lib but in both cases ANT does not seem to care.
Adding the required jar explicitly in the classpath variable of
./secore-web/project.properties, that is
/usr/local/apache-ant-1.8.4/lib/servlet-2_5-api.jar, the command
(1) works and successfully builds.

This way *apparently* the property libs.CopyLibs.classpath was set, but then
running the ./deploy script again, still complaints about this
missing property.

Change History (0)

Note: See TracTickets for help on using tickets.