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 Re: Resolved the Maven 2 build error with the Derby embedded database
Date Thu, 25 Jan 2007 11:03:21 GMT
Hi,

On 1/25/07, Philip Mark Donaghy <philip.donaghy@gmail.com> 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: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message