You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by Noah Couture <no...@coutureconsulting.com> on 2004/05/27 20:36:58 UTC

question

Howdy!

This all looks very cool, so I thought I'd give it a whirl.  Actually,
I'm looking for a solution for an ISP level webmail system, along with
other bits.

I checked the current version out of CVS and it didn't take too long to
run into something I'm unsure how to surmount.  I'm following the
getting started directions. 

I realize this is still in CVS, and maybe this is just the current state
of the project, but if y'all can point me in the right way to get going,
I'd appreciate the help very much.  Thanks!

Here's what I ran into -

Step 1 gave me this:

bash-2.05$ maven start.test.server
__  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc3

[snip....]

start.test.server:
    [echo] ====================================
    [echo]         Testing Database
    [echo] ====================================
    [java] server.properties not found, using command line or default
properties
    [java] Opening database: ./src/database/hsql/Test
    [java] HSQLDB server 1.7.1 is running
    [java] Use SHUTDOWN to close normally. Use [Ctrl]+[C] to abort
abruptly
    [java] Thu May 27 11:09:12 PDT 2004 Listening for connections ...

Step 2:

bash-2.05$ maven quickStart
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc3


BUILD FAILED
File...... /home/noah/jakarta-jetspeed-2/maven.xml
Element... sql
Line...... 345
Column.... 39
Source file does not exist!
Total time: 12 seconds
Finished at: Thu May 27 11:31:18 PDT 2004

Relevent portion of maven.xml looks like this:

   336    <!--
================================================================ -->
   337    <!-- EXECUTE a DB SCRIPT
-->
   338    <!-- TODO: I'd like to implement this as a plugin or use
commons SQL  -->
   339    <!--
================================================================ -->
   340    <goal name="db.execute">
   341      <sql driver="${org.apache.jetspeed.database.driver}"
   342           url="${org.apache.jetspeed.database.url}"
   343           userid="${org.apache.jetspeed.database.user}"
   344           password="${org.apache.jetspeed.database.password}"
   345           src="${database.arg.script}">
   346        <classpath>
   347          <path refid="maven.dependency.classpath"/>
   348          <pathelement
path="${org.apache.jetspeed.jdbc.drivers.path}"/>
   349        </classpath>
   350      </sql>
   351    </goal>

I think its looking for this (line 368):

   367    <goal name="db.create">
   368      <j:set var="database.arg.script"
value="./target/src/sql/${org.apache.jetspeed.database.default.name}/pha
se3ojb-sc
hema.sql" />
   369      <attainGoal name="db.execute" />
   370      <j:set var="database.arg.script"
value="./target/src/sql/${org.apache.jetspeed.database.default.name}/pha
se1-schem
a.sql" />

I don't see any file called phase3ojb-schema.sql, but there are some
similar sounding files:

./portal/src/sql/hsql/create-db-phase3-ojb.sql
./portal/src/sql/hsql/create-db-phase2.sql
./portal/src/sql/hsql/create-db.sql



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


RE: question

Posted by Noah Couture <no...@coutureconsulting.com>.
Yeah, sorry about that.  I realized I'd screwed up pretty quick after I
sent that.

Actually, now that I'm doing things in the right order I've run into
something else.

I can see that its from the components/registry subdirectory (I think)
but I'm not sure how I can isolate the output to see whats going on.

Anyways, thanks again.  Output follows.

noah

+----------------------------------------
| Build and Install the Regsitry Components jar Jetspeed-2 Registry
Components
| Memory: 44M/66M
+----------------------------------------

[.......]

test:test:
    [copy] Copying 1 file to
/home/noah/jakarta-jetspeed-2/components/registry/target/test-classes
    [junit] Running
org.apache.jetspeed.components.portletentity.TestPortletEntityAccessComp
onent
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 14.234
sec
    [junit] Running
org.apache.jetspeed.components.portletregistry.TestRegistryDirectPart2
    [junit] Tests run: 2, Failures: 1, Errors: 0, Time elapsed: 13.54
sec
    [junit] [ERROR] TEST
org.apache.jetspeed.components.portletregistry.TestRegistryDirectPart2
FAILED
    [junit] Running
org.apache.jetspeed.components.portletregistry.TestRegistryDirect
    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 15.156
sec

BUILD FAILED
File...... /home/noah/jakarta-jetspeed-2/maven.xml
Element... maven:reactor
Line...... 136
Column.... 40
Unable to obtain goal [test:test] --
/home/noah/.maven/plugins/maven-test-plugin-1.6.1/plugin.jelly:162:54:
<fail> There were test failures.
Total time: 6 minutes 9 seconds
Finished at: Thu May 27 12:16:59 PDT 2004

-----Original Message-----
From: Scott T Weaver [mailto:scotts-jetspeed-list@binary-designs.net] 
Sent: Thursday, May 27, 2004 12:14 PM
To: Jetspeed Developers List
Subject: Re: question

Oops, looks like missed a step ;)

you need to run: maven allClean allBuild
before running maven quickStart



On Thu, 2004-05-27 at 14:36, Noah Couture wrote:
> Howdy!
> 
> This all looks very cool, so I thought I'd give it a whirl.  Actually,
> I'm looking for a solution for an ISP level webmail system, along with
> other bits.
> 
> I checked the current version out of CVS and it didn't take too long
to
> run into something I'm unsure how to surmount.  I'm following the
> getting started directions. 
> 
> I realize this is still in CVS, and maybe this is just the current
state
> of the project, but if y'all can point me in the right way to get
going,
> I'd appreciate the help very much.  Thanks!
> 
> Here's what I ran into -
> 
> Step 1 gave me this:
> 
> bash-2.05$ maven start.test.server
> __  __
> |  \/  |__ _Apache__ ___
> | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
> |_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc3
> 
> [snip....]
> 
> start.test.server:
>     [echo] ====================================
>     [echo]         Testing Database
>     [echo] ====================================
>     [java] server.properties not found, using command line or default
> properties
>     [java] Opening database: ./src/database/hsql/Test
>     [java] HSQLDB server 1.7.1 is running
>     [java] Use SHUTDOWN to close normally. Use [Ctrl]+[C] to abort
> abruptly
>     [java] Thu May 27 11:09:12 PDT 2004 Listening for connections ...
> 
> Step 2:
> 
> bash-2.05$ maven quickStart
>  __  __
> |  \/  |__ _Apache__ ___
> | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
> |_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc3
> 
> 
> BUILD FAILED
> File...... /home/noah/jakarta-jetspeed-2/maven.xml
> Element... sql
> Line...... 345
> Column.... 39
> Source file does not exist!
> Total time: 12 seconds
> Finished at: Thu May 27 11:31:18 PDT 2004
> 
> Relevent portion of maven.xml looks like this:
> 
>    336    <!--
> ================================================================ -->
>    337    <!-- EXECUTE a DB SCRIPT
> -->
>    338    <!-- TODO: I'd like to implement this as a plugin or use
> commons SQL  -->
>    339    <!--
> ================================================================ -->
>    340    <goal name="db.execute">
>    341      <sql driver="${org.apache.jetspeed.database.driver}"
>    342           url="${org.apache.jetspeed.database.url}"
>    343           userid="${org.apache.jetspeed.database.user}"
>    344           password="${org.apache.jetspeed.database.password}"
>    345           src="${database.arg.script}">
>    346        <classpath>
>    347          <path refid="maven.dependency.classpath"/>
>    348          <pathelement
> path="${org.apache.jetspeed.jdbc.drivers.path}"/>
>    349        </classpath>
>    350      </sql>
>    351    </goal>
> 
> I think its looking for this (line 368):
> 
>    367    <goal name="db.create">
>    368      <j:set var="database.arg.script"
>
value="./target/src/sql/${org.apache.jetspeed.database.default.name}/pha
> se3ojb-sc
> hema.sql" />
>    369      <attainGoal name="db.execute" />
>    370      <j:set var="database.arg.script"
>
value="./target/src/sql/${org.apache.jetspeed.database.default.name}/pha
> se1-schem
> a.sql" />
> 
> I don't see any file called phase3ojb-schema.sql, but there are some
> similar sounding files:
> 
> ./portal/src/sql/hsql/create-db-phase3-ojb.sql
> ./portal/src/sql/hsql/create-db-phase2.sql
> ./portal/src/sql/hsql/create-db.sql
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org
-- 
******************************************
*           Scott T. Weaver              *
*         <we...@apache.org>            *
*     <http://www.einnovation.com>       *   
* -------------------------------------- *
*   Apache Jetspeed Enterprise Portal    *
*     Apache Pluto Portlet Container     *
*                                        *
* OpenEditPro, Website Content Mangement *
*     <http://www.openeditpro.com>       *
******************************************


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




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


Re: question

Posted by Scott T Weaver <sc...@binary-designs.net>.
Oops, looks like missed a step ;)

you need to run: maven allClean allBuild
before running maven quickStart



On Thu, 2004-05-27 at 14:36, Noah Couture wrote:
> Howdy!
> 
> This all looks very cool, so I thought I'd give it a whirl.  Actually,
> I'm looking for a solution for an ISP level webmail system, along with
> other bits.
> 
> I checked the current version out of CVS and it didn't take too long to
> run into something I'm unsure how to surmount.  I'm following the
> getting started directions. 
> 
> I realize this is still in CVS, and maybe this is just the current state
> of the project, but if y'all can point me in the right way to get going,
> I'd appreciate the help very much.  Thanks!
> 
> Here's what I ran into -
> 
> Step 1 gave me this:
> 
> bash-2.05$ maven start.test.server
> __  __
> |  \/  |__ _Apache__ ___
> | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
> |_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc3
> 
> [snip....]
> 
> start.test.server:
>     [echo] ====================================
>     [echo]         Testing Database
>     [echo] ====================================
>     [java] server.properties not found, using command line or default
> properties
>     [java] Opening database: ./src/database/hsql/Test
>     [java] HSQLDB server 1.7.1 is running
>     [java] Use SHUTDOWN to close normally. Use [Ctrl]+[C] to abort
> abruptly
>     [java] Thu May 27 11:09:12 PDT 2004 Listening for connections ...
> 
> Step 2:
> 
> bash-2.05$ maven quickStart
>  __  __
> |  \/  |__ _Apache__ ___
> | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
> |_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc3
> 
> 
> BUILD FAILED
> File...... /home/noah/jakarta-jetspeed-2/maven.xml
> Element... sql
> Line...... 345
> Column.... 39
> Source file does not exist!
> Total time: 12 seconds
> Finished at: Thu May 27 11:31:18 PDT 2004
> 
> Relevent portion of maven.xml looks like this:
> 
>    336    <!--
> ================================================================ -->
>    337    <!-- EXECUTE a DB SCRIPT
> -->
>    338    <!-- TODO: I'd like to implement this as a plugin or use
> commons SQL  -->
>    339    <!--
> ================================================================ -->
>    340    <goal name="db.execute">
>    341      <sql driver="${org.apache.jetspeed.database.driver}"
>    342           url="${org.apache.jetspeed.database.url}"
>    343           userid="${org.apache.jetspeed.database.user}"
>    344           password="${org.apache.jetspeed.database.password}"
>    345           src="${database.arg.script}">
>    346        <classpath>
>    347          <path refid="maven.dependency.classpath"/>
>    348          <pathelement
> path="${org.apache.jetspeed.jdbc.drivers.path}"/>
>    349        </classpath>
>    350      </sql>
>    351    </goal>
> 
> I think its looking for this (line 368):
> 
>    367    <goal name="db.create">
>    368      <j:set var="database.arg.script"
> value="./target/src/sql/${org.apache.jetspeed.database.default.name}/pha
> se3ojb-sc
> hema.sql" />
>    369      <attainGoal name="db.execute" />
>    370      <j:set var="database.arg.script"
> value="./target/src/sql/${org.apache.jetspeed.database.default.name}/pha
> se1-schem
> a.sql" />
> 
> I don't see any file called phase3ojb-schema.sql, but there are some
> similar sounding files:
> 
> ./portal/src/sql/hsql/create-db-phase3-ojb.sql
> ./portal/src/sql/hsql/create-db-phase2.sql
> ./portal/src/sql/hsql/create-db.sql
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org
-- 
******************************************
*           Scott T. Weaver              *
*         <we...@apache.org>            *
*     <http://www.einnovation.com>       *   
* -------------------------------------- *
*   Apache Jetspeed Enterprise Portal    *
*     Apache Pluto Portlet Container     *
*                                        *
* OpenEditPro, Website Content Mangement *
*     <http://www.openeditpro.com>       *
******************************************


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


RE: question

Posted by David Pankros <dp...@everestkc.net>.
Did you do a maven allBuild first?   AFAK, you can't just run quickStart
qithout building j2 first.   

Dave

> -----Original Message-----
> bash-2.05$ maven start.test.server
> bash-2.05$ maven quickStart



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