portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Philip Mark Donaghy" <philip.dona...@gmail.com>
Subject Resolved the Maven 2 build error with the Derby embedded database
Date Wed, 24 Jan 2007 23:31:44 GMT
Hi, It seems the maven ant plugin requires that properties be declared
in the build file to be acknowledged. Example,

    <target name="help" if="mytest">

The property mytest doesn't need to be declared when running this
target with Ant. The command,

ant -Dmytest=true help

will execute the target help.

Yet the target help will never execute using the maven plugin unless
there is a property declaration.

    <property name="mytest" value=""/>

There are a number of properties used in the etc/build.xml that are
not declared. This is preventing the target sql-execute-derby from
running. Declaring the o.a.j.is.derby and o.a.j.is.derby.embedded
properties will fix this.

	<property name="org.apache.jetspeed.database.is.derby" value="" />
	<property name="org.apache.jetspeed.database.is.derby.embedded" value="" />

This and copying the derby jar to tomcat are blocking the maven 2
build. At the moment I don't know where that should be done.
Philip Donaghy
donaghy.blogspot.com del.icio.us/donaghy/philip
Skype: philipmarkdonaghy
Office: +33 5 56 60 88 02
Mobile: +33 6 20 83 22 62

To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org

View raw message