You are viewing a plain text version of this content. The canonical link for it is here.
Posted to graffito-dev@incubator.apache.org by "Martin Maisey (JIRA)" <ji...@apache.org> on 2005/06/08 11:24:30 UTC

[jira] Created: (GRFT-29) Build failure with HSQLDB

Build failure with HSQLDB
-------------------------

         Key: GRFT-29
         URL: http://issues.apache.org/jira/browse/GRFT-29
     Project: Graffito
        Type: Bug
  Components: Project Build  
    Versions: 1.0-a1-dev    
 Environment: HSQLDB, JDK 1.4.2, Maven 1.0.2
    Reporter: Martin Maisey


I attempted to build Maven as per http://incubator.apache.org/graffito/getting-started.html, and used HSQLDB as a quick and easy option that the getting started instructions say is supported. So I have  

org.apache.portals.graffito.test.database.default.name=hsql

in my build.properties.

However, the build fails with

BUILD FAILED
File...... C:\cygwin\home\martin.maisey\graffito\maven.xml
Element... maven:reactor
Line...... 77
Column.... 40
Unable to obtain goal [test:test] -- C:\cygwin\home\martin.maisey\graffito\components\maven.xml:97:33: <sql> Source file does not exist!

The problem appears to be that the file referenced in the database.arg.script parameter set at line 267 in the maven.xml file mentioned does not exist. This is defined as

./src/sql/GraffitoServer/${org.apache.portals.graffito.database.default.name}/drop-db.sql

Looking at Subversion, this appears to be a manually created file, and there is no file src/sql/GraffitoServer/hsql/drop-db.sql in Subversion hence the error. In fact, the only database these files are present for is MySQL. I'm moving to MySQL now as a workaround, but raising the issue as it might be a good idea to  either 

* Update the 'Getting Started' page to indicate that the other databases aren't currently supported, or 
* Check in the relevant SQL files

This may be related to GRFT-4 but really is related to the Getting Started page, which seems to be a bit misleading at the moment.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Assigned: (GRFT-29) Build failure with HSQLDB

Posted by "Christophe Lombart (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/GRFT-29?page=all ]

Christophe Lombart reassigned GRFT-29:
--------------------------------------

    Assign To: Christophe Lombart

> Build failure with HSQLDB
> -------------------------
>
>          Key: GRFT-29
>          URL: http://issues.apache.org/jira/browse/GRFT-29
>      Project: Graffito
>         Type: Bug
>   Components: Project Build
>     Versions: 1.0-a1-dev
>  Environment: HSQLDB, JDK 1.4.2, Maven 1.0.2
>     Reporter: Martin Maisey
>     Assignee: Christophe Lombart

>
> I attempted to build Maven as per http://incubator.apache.org/graffito/getting-started.html, and used HSQLDB as a quick and easy option that the getting started instructions say is supported. So I have  
> org.apache.portals.graffito.test.database.default.name=hsql
> in my build.properties.
> However, the build fails with
> BUILD FAILED
> File...... C:\cygwin\home\martin.maisey\graffito\maven.xml
> Element... maven:reactor
> Line...... 77
> Column.... 40
> Unable to obtain goal [test:test] -- C:\cygwin\home\martin.maisey\graffito\components\maven.xml:97:33: <sql> Source file does not exist!
> The problem appears to be that the file referenced in the database.arg.script parameter set at line 267 in the maven.xml file mentioned does not exist. This is defined as
> ./src/sql/GraffitoServer/${org.apache.portals.graffito.database.default.name}/drop-db.sql
> Looking at Subversion, this appears to be a manually created file, and there is no file src/sql/GraffitoServer/hsql/drop-db.sql in Subversion hence the error. In fact, the only database these files are present for is MySQL. I'm moving to MySQL now as a workaround, but raising the issue as it might be a good idea to  either 
> * Update the 'Getting Started' page to indicate that the other databases aren't currently supported, or 
> * Check in the relevant SQL files
> This may be related to GRFT-4 but really is related to the Getting Started page, which seems to be a bit misleading at the moment.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (GRFT-29) Build failure with HSQLDB

Posted by "Christophe Lombart (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/GRFT-29?page=comments#action_12313053 ] 

Christophe Lombart commented on GRFT-29:
----------------------------------------

Some pieces of code & config files are missing if we want to support HSQL DB.
I'm working on that. It should be solve this week. 

Now, config files are defined.
I'm reviewing the unit tests and deployment on J2. 


> Build failure with HSQLDB
> -------------------------
>
>          Key: GRFT-29
>          URL: http://issues.apache.org/jira/browse/GRFT-29
>      Project: Graffito
>         Type: Bug
>   Components: Project Build
>     Versions: 1.0-a1-dev
>  Environment: HSQLDB, JDK 1.4.2, Maven 1.0.2
>     Reporter: Martin Maisey
>     Assignee: Christophe Lombart

>
> I attempted to build Maven as per http://incubator.apache.org/graffito/getting-started.html, and used HSQLDB as a quick and easy option that the getting started instructions say is supported. So I have  
> org.apache.portals.graffito.test.database.default.name=hsql
> in my build.properties.
> However, the build fails with
> BUILD FAILED
> File...... C:\cygwin\home\martin.maisey\graffito\maven.xml
> Element... maven:reactor
> Line...... 77
> Column.... 40
> Unable to obtain goal [test:test] -- C:\cygwin\home\martin.maisey\graffito\components\maven.xml:97:33: <sql> Source file does not exist!
> The problem appears to be that the file referenced in the database.arg.script parameter set at line 267 in the maven.xml file mentioned does not exist. This is defined as
> ./src/sql/GraffitoServer/${org.apache.portals.graffito.database.default.name}/drop-db.sql
> Looking at Subversion, this appears to be a manually created file, and there is no file src/sql/GraffitoServer/hsql/drop-db.sql in Subversion hence the error. In fact, the only database these files are present for is MySQL. I'm moving to MySQL now as a workaround, but raising the issue as it might be a good idea to  either 
> * Update the 'Getting Started' page to indicate that the other databases aren't currently supported, or 
> * Check in the relevant SQL files
> This may be related to GRFT-4 but really is related to the Getting Started page, which seems to be a bit misleading at the moment.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Closed: (GRFT-29) Build failure with HSQLDB

Posted by "Christophe Lombart (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/GRFT-29?page=all ]
     
Christophe Lombart closed GRFT-29:
----------------------------------

    Resolution: Fixed

Linked to issues GRFT-16. 

* All HSQL specific scripts has been added.
* Running Graffito with HSQL required HSQL version 1.8


> Build failure with HSQLDB
> -------------------------
>
>          Key: GRFT-29
>          URL: http://issues.apache.org/jira/browse/GRFT-29
>      Project: Graffito
>         Type: Bug
>   Components: Project Build
>     Versions: 1.0-a1-dev
>  Environment: HSQLDB, JDK 1.4.2, Maven 1.0.2
>     Reporter: Martin Maisey
>     Assignee: Christophe Lombart

>
> I attempted to build Maven as per http://incubator.apache.org/graffito/getting-started.html, and used HSQLDB as a quick and easy option that the getting started instructions say is supported. So I have  
> org.apache.portals.graffito.test.database.default.name=hsql
> in my build.properties.
> However, the build fails with
> BUILD FAILED
> File...... C:\cygwin\home\martin.maisey\graffito\maven.xml
> Element... maven:reactor
> Line...... 77
> Column.... 40
> Unable to obtain goal [test:test] -- C:\cygwin\home\martin.maisey\graffito\components\maven.xml:97:33: <sql> Source file does not exist!
> The problem appears to be that the file referenced in the database.arg.script parameter set at line 267 in the maven.xml file mentioned does not exist. This is defined as
> ./src/sql/GraffitoServer/${org.apache.portals.graffito.database.default.name}/drop-db.sql
> Looking at Subversion, this appears to be a manually created file, and there is no file src/sql/GraffitoServer/hsql/drop-db.sql in Subversion hence the error. In fact, the only database these files are present for is MySQL. I'm moving to MySQL now as a workaround, but raising the issue as it might be a good idea to  either 
> * Update the 'Getting Started' page to indicate that the other databases aren't currently supported, or 
> * Check in the relevant SQL files
> This may be related to GRFT-4 but really is related to the Getting Started page, which seems to be a bit misleading at the moment.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira