Opened 12 years ago

Last modified 12 years ago

#187 closed defect

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

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

Description (last modified by Piero Campalani)

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=/path/to/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 (1)

comment:1 by Piero Campalani, 12 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.