Build problems: Jetspeed and Maven

2005-03-11 Thread Christian Tanzmann
Hi,
I try to build jetspeed 2 with maven and I follow the instruction from
getting started manual but I have a problem.

First step I have done
  cd ${jetspeed-2-home}
  maven start.test.server

Console output:
  build:start
  start.test.server:
  ...
  [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 ...
  [java] ... Listening for connections...

Second Step I have done in another console:
  cd ${jetspeed-2-home}
  maven allClean allBuild

Console output:
  Starting the reactor...
  BUILD FAILED
  File. C:\...\maven.xml
  Line 104
  Column 7
  Error reading XML or initializing

But the maven.xml file at this line looks so:

maven:reactor
   basedir=${basedir}
 
includes=*/project.xml,applications/*/project.xml,services/*/project.xm
l,components/*/project.xml,portals-bridges/*/project.xml
   excludes=applications/project.taglibs/project.xml
   goals=clean
   banner=Cleaning
   ignoreFailures=true
/  //!!!line 104

maven:reactor
   basedir=${basedir}
 
includes=layout-portlets/project.xml,maven-plugin/project.xml,taglibs/p
roject.xml
   goals=clean
   banner=Cleaning
   ignoreFailures=true
/
  
Ok. I´m a Newbie but I think this lines are ok. So can you tell me whats
wrong. In the first terminal session was no server.properties found but
I dont know this file. Because the file is failed the TestServer starts.

Please help me.

Christian Tanzmann



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Build problems: Jetspeed and Maven

2005-03-11 Thread Bernhard Bauer
hi!
you should check your build.properties file... have you followed the 
instructions given on the portal homepage?

maybe my instructions/hints can solve your probably (hope you've downloaded 
and installed java, tomcat and maven...)

in the src-folder you've downloaded, there is a file called 
build.properties.sample - rename this file to build.properties and edit it. 
take care of the slashes in the path - they have to be / instead of the 
normal windows - eg. c:/programs instead of c:\programs!!

next you have to put the build.properties file in your user-home directory - 
if you use windows - its driveletter:\documents and settings\User - hope 
you understand what i mean - if not, just ask

if you've done already so, maybe it helps if you show me a listing of your 
build.properties file... in my opinion - it's not easy getting started with 
jetspeed-2 - so keep on trying :-)

greets,
bernhard

- Original Message - 
From: Christian Tanzmann [EMAIL PROTECTED]
To: jetspeed-user@jakarta.apache.org
Sent: Friday, March 11, 2005 10:38 AM
Subject: Build problems: Jetspeed and Maven

Hi,
I try to build jetspeed 2 with maven and I follow the instruction from
getting started manual but I have a problem.
First step I have done
 cd ${jetspeed-2-home}
 maven start.test.server
Console output:
 build:start
 start.test.server:
 ...
 [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 ...
 [java] ... Listening for connections...
Second Step I have done in another console:
 cd ${jetspeed-2-home}
 maven allClean allBuild
Console output:
 Starting the reactor...
 BUILD FAILED
 File. C:\...\maven.xml
 Line 104
 Column 7
 Error reading XML or initializing
But the maven.xml file at this line looks so:
maven:reactor
  basedir=${basedir}
includes=*/project.xml,applications/*/project.xml,services/*/project.xm
l,components/*/project.xml,portals-bridges/*/project.xml
  excludes=applications/project.taglibs/project.xml
  goals=clean
  banner=Cleaning
  ignoreFailures=true
   / //!!!line 104
   maven:reactor
  basedir=${basedir}
includes=layout-portlets/project.xml,maven-plugin/project.xml,taglibs/p
roject.xml
  goals=clean
  banner=Cleaning
  ignoreFailures=true
   /
Ok. I´m a Newbie but I think this lines are ok. So can you tell me whats
wrong. In the first terminal session was no server.properties found but
I dont know this file. Because the file is failed the TestServer starts.
Please help me.
Christian Tanzmann

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Build problems: Jetspeed and Maven

2005-03-11 Thread Bernhard Bauer
ok - the sentence should be: maybe my instructions/hints can solve your 
PROBLEMS... ;-)

- Original Message - 
From: Bernhard Bauer [EMAIL PROTECTED]
To: Jetspeed Users List jetspeed-user@jakarta.apache.org
Sent: Friday, March 11, 2005 11:06 AM
Subject: Re: Build problems: Jetspeed and Maven


hi!
you should check your build.properties file... have you followed the 
instructions given on the portal homepage?

maybe my instructions/hints can solve your probably (hope you've 
downloaded and installed java, tomcat and maven...)

in the src-folder you've downloaded, there is a file called 
build.properties.sample - rename this file to build.properties and edit 
it. take care of the slashes in the path - they have to be / instead of 
the normal windows - eg. c:/programs instead of c:\programs!!

next you have to put the build.properties file in your user-home 
directory - if you use windows - its driveletter:\documents and 
settings\User - hope you understand what i mean - if not, just ask

if you've done already so, maybe it helps if you show me a listing of your 
build.properties file... in my opinion - it's not easy getting started 
with jetspeed-2 - so keep on trying :-)

greets,
bernhard

- Original Message - 
From: Christian Tanzmann [EMAIL PROTECTED]
To: jetspeed-user@jakarta.apache.org
Sent: Friday, March 11, 2005 10:38 AM
Subject: Build problems: Jetspeed and Maven

Hi,
I try to build jetspeed 2 with maven and I follow the instruction from
getting started manual but I have a problem.
First step I have done
 cd ${jetspeed-2-home}
 maven start.test.server
Console output:
 build:start
 start.test.server:
 ...
 [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 ...
 [java] ... Listening for connections...
Second Step I have done in another console:
 cd ${jetspeed-2-home}
 maven allClean allBuild
Console output:
 Starting the reactor...
 BUILD FAILED
 File. C:\...\maven.xml
 Line 104
 Column 7
 Error reading XML or initializing
But the maven.xml file at this line looks so:
maven:reactor
  basedir=${basedir}
includes=*/project.xml,applications/*/project.xml,services/*/project.xm
l,components/*/project.xml,portals-bridges/*/project.xml
  excludes=applications/project.taglibs/project.xml
  goals=clean
  banner=Cleaning
  ignoreFailures=true
   / //!!!line 104
   maven:reactor
  basedir=${basedir}
includes=layout-portlets/project.xml,maven-plugin/project.xml,taglibs/p
roject.xml
  goals=clean
  banner=Cleaning
  ignoreFailures=true
   /
Ok. I´m a Newbie but I think this lines are ok. So can you tell me whats
wrong. In the first terminal session was no server.properties found but
I dont know this file. Because the file is failed the TestServer starts.
Please help me.
Christian Tanzmann

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]