You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-user@james.apache.org by Roy Henderson <r_...@rebexitservices.co.uk> on 2004/03/22 21:09:45 UTC

Build fails with bad build.xml error

I ( think ) I downloaded the latest version by:

1) cvs checkout james-server
2) cvs -z3 update -P -jbranch_2_1_fcs ( Thank you Serge )

I then tried to build and got:


C:\CVS\JAMES-~1>build

James Build System
-------------------
Buildfile: build.xml

BUILD FAILED
file:C:/CVS/JAMES-~1/build.xml:51: The content of elements must consist of
well-
formed character data or markup.

Total time: 1 second

C:\CVS\JAMES-~1>

This is my first James build attempt so I don't know if the problem is
self-inflicted or not ...

Any guidance / assistance most appreciated.

Thanks,

Roy

----------------------------------------------------------------
[This message has been routed via James V2.1.3 on REBEX-MERCURY]

---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org


RE: Build fails with bad build.xml error

Posted by "Noel J. Bergman" <no...@devtech.com>.
> My line 51 is the <<<<<<< build.xml statement

Then you had a merge conflict.  Delete the file and update.

	--- Noel

---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org


RE: Build fails with bad build.xml error

Posted by Roy Henderson <r_...@rebexitservices.co.uk>.
Noel,

My line 51 is the <<<<<<< build.xml statement

I have included a few lines before and after ...

Roy

<project default="main" basedir=".">
    <!--
    Give user a chance to override without editing this file
    (and without typing -D each time he compiles it)
    -->
    <property file=".ant.properties"/>
    <property file="${user.home}/.ant.properties"/>
<<<<<<< build.xml
    <property file="check-targets.properties"/>
    <property file="include.properties"/>
    <property file="default.properties"/>

    <!--
    ===================================================================
    Set the properties for proposal directories
    ===================================================================
    -->
=======
    <property name="name" value="james"/>
    <property name="Name" value="James"/>
    <property name="version" value="2.2.0-dev"/>
    <property name="year" value="1999-2003"/>
    <!-- There should be no need to override default compiler but need to
change
    javac task to run without this -->
    <property name="build.compiler" value="modern"/>
    <!--
    these are here only for those who use jikes compiler. For other
    developers this part makes no difference.
  -->
    <property name="build.compiler.emacs" value="on"/>
    <property name="build.compiler.pedantic" value="true"/>
    <property name="build.compiler.depend" value="true"/>
    <property name="build.compiler.fulldepend" value="true"/>
    <property name="debug" value="on"/>
    <property name="optimize" value="on"/>
    <property name="deprecation" value="off"/>

-----Original Message-----
From: Noel J. Bergman [mailto:noel@devtech.com] 
Sent: 22 March 2004 20:23
To: James Users List
Subject: RE: Build fails with bad build.xml error

> 1) cvs checkout james-server
> 2) cvs -z3 update -P -jbranch_2_1_fcs

> file:C:/CVS/JAMES-~1/build.xml:51: The content of elements must consist of
well-formed character data or markup.

What is line 51?  Mine is totally innocuous:

    <property name="deprecation" value="off"/>

	--- Noel


---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org

----------------------------------------------------------------
[This message has been routed via James V2.1.3 on REBEX-MERCURY]

---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org


RE: Build fails with bad build.xml error

Posted by "Noel J. Bergman" <no...@devtech.com>.
> 1) cvs checkout james-server
> 2) cvs -z3 update -P -jbranch_2_1_fcs

> file:C:/CVS/JAMES-~1/build.xml:51: The content of elements must consist of
well-formed character data or markup.

What is line 51?  Mine is totally innocuous:

    <property name="deprecation" value="off"/>

	--- Noel


---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org