Theo Filippidis (JIRA) wrote:
mave allBuild failes with Error reading XML or initializing
-----------------------------------------------------------
Key: JS2-201
URL: http://issues.apache.org/jira/browse/JS2-201
Project: Jetspeed 2
Type: Bug
Components: Installer
Versions: 2.0-M1
Environment: Windows 2000, Tomcat 5.5, Oracle 9i
Reporter: Theo Filippidis
Priority: Blocker
C:\Program Files\Apache Software Foundation\jetspeed2>maven allBuild
__ __
| \/ |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
|_| |_\__,_|\_/\___|_||_| v. 1.0.2
build:start:
allBuild:
check.required.properties:
torque:init:
db.scripts.gen:
[echo] Generating SQL schema creation scripts for HSQLDB
[torque-sql] Using classpath
[torque-sql] Generating to file C:\Program Files\Apache Software Foundation\
jetspeed2\target\src\sql\hsql\report.portal.sql.generation
[echo] Generating SQL schema creation scripts for MySQL
[torque-sql] Using classpath
[torque-sql] Generating to file C:\Program Files\Apache Software Foundation\
jetspeed2\target\src\sql\mysql\report.portal.sql.generation
[echo] Generating SQL schema creation scripts for Oracle
[torque-sql] Using classpath
[torque-sql] Generating to file C:\Program Files\Apache Software Foundation\
jetspeed2\target\src\sql\oracle\report.portal.sql.generation
[echo] Generating SQL schema creation scripts for MS SQL
[torque-sql] Using classpath
[torque-sql] Generating to file C:\Program Files\Apache Software Foundation\
jetspeed2\target\src\sql\mssql\report.portal.sql.generation
[echo] Generating SQL schema creation scripts for Postgres
[torque-sql] Using classpath
[torque-sql] Generating to file C:\Program Files\Apache Software Foundation\
jetspeed2\target\src\sql\postgres\report.portal.sql.generation
db.create.test:
db.test.properties:
db.drop2:
db.create:
db.execute:
[sql] Executing file: C:\Program Files\Apache Software Foundation\jetspeed2\
target\src\sql\oracle\phase3ojb-schema.sql
[sql] 24 of 24 SQL statements executed successfully
db.execute:
[sql] Executing file: C:\Program Files\Apache Software Foundation\jetspeed2\
target\src\sql\oracle\phase1-schema.sql
[sql] 20 of 20 SQL statements executed successfully
db.execute:
[sql] Executing file: C:\Program Files\Apache Software Foundation\jetspeed2\
target\src\sql\oracle\phase2-schema.sql
[sql] 36 of 36 SQL statements executed successfully
db.execute:
[sql] Executing file: C:\Program Files\Apache Software Foundation\jetspeed2\
target\src\sql\oracle\registry-schema.sql
[sql] 58 of 58 SQL statements executed successfully
db.execute:
[sql] Executing file: C:\Program Files\Apache Software Foundation\jetspeed2\
target\src\sql\oracle\prefs-schema.sql
[sql] 13 of 13 SQL statements executed successfully
db.execute:
[sql] Executing file: C:\Program Files\Apache Software Foundation\jetspeed2\
target\src\sql\oracle\security-schema.sql
[sql] 48 of 48 SQL statements executed successfully
db.execute:
[sql] Executing file: C:\Program Files\Apache Software Foundation\jetspeed2\
src\sql\populate-db-default.sql
[sql] 180 of 180 SQL statements executed successfully
db.execute:
[sql] Executing file: C:\Program Files\Apache Software Foundation\jetspeed2\
target\src\sql\oracle\test-persistence-schema.sql
[sql] 6 of 6 SQL statements executed successfully
Starting the reactor...
BUILD FAILED
File...... C:\Program Files\Apache Software Foundation\jetspeed2\maven.xml
Element... maven:reactor
Line...... 133
Column.... 40
Error reading XML or initializing
Total time: 1 minutes 10 seconds
Finished at: Wed Jan 26 19:20:22 EET 2005
C:\Program Files\Apache Software Foundation\jetspeed2>
We had this same problem this morning on the latest checkout from CVS.
My associate fixed by prepending an extra forward slash on the file
paths in the build.properties file in the home directory. I think the
problem resulted from spaces in the Windows path name. But I am a Linux
guy and never had the problem in the first place:)
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]