Hi,
On 1/25/07, Philip Mark Donaghy <[EMAIL PROTECTED]> wrote:
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.
This issue probably needs some testing for each database as Mikko has
pointed out it breaks the build for other databases. See related
thread "MySQL fails with Maven2.. on derby execute".
Philip
<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
--
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]