You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xmlbeans.apache.org by Orion Poplawski <or...@cora.nwra.com> on 2009/10/19 19:28:48 UTC
How to build from source from scratch
I'm looking into packaging xmlbeans for Fedora. A requirement is to not
ship/use any prebuilt jar files. It looks like xmlbeans requires some
kind of bootstrap build. Is building completely from source possible?
Thanks!
--
Orion Poplawski
Technical Manager 303-415-9701 x222
NWRA/CoRA Division FAX: 303-415-9702
3380 Mitchell Lane orion@cora.nwra.com
Boulder, CO 80301 http://www.cora.nwra.com
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: dev-help@xmlbeans.apache.org
Re: How to build from source from scratch
Posted by Robert Marcano <ro...@marcanoonline.com>.
On 10/19/2009 04:40 PM, Cezar Andrei wrote:
> No, you need the checked in binary (external/lib/oldxbeans.jar). If you run 'ant bootstrap' twice, first time you'll probably get a warning that there are differences, but second time the binary should be the same, i.e. based only on the sources available.
>
> XMLBeans needs itself because in order to understand schema files we need to compile the schema for schemas into xsd xbeans, these s4s xbeans are used to verify, load xsd files in memory and create the schema type system.
>
> Cezar
>
>> -----Original Message-----
>> From: Orion Poplawski [mailto:orion@cora.nwra.com]
>> Sent: Monday, October 19, 2009 12:29 PM
>> To: dev@xmlbeans.apache.org
>> Subject: How to build from source from scratch
>>
>> I'm looking into packaging xmlbeans for Fedora. A requirement is to not
>> ship/use any prebuilt jar files. It looks like xmlbeans requires some
>> kind of bootstrap build. Is building completely from source possible?
This is not entirely true, there are some exceptions for bootstraping,
for example
Name : jaxen-bootstrap
Arch : noarch
Version : 1.1
Release : 2.2.fc11
Size : 202 k
Repo : local-fedora
Summary : A convenience package for build of dom4j
URL : http://jaxen.codehaus.org/
License : BSD
Description: Dom4j depends on a jaxen build with dom4j support.
: This package must only be installed in the rare
: event of having to rebuild dom4j.
>>
>> Thanks!
>>
>> --
>> Orion Poplawski
>> Technical Manager 303-415-9701 x222
>> NWRA/CoRA Division FAX: 303-415-9702
>> 3380 Mitchell Lane orion@cora.nwra.com
>> Boulder, CO 80301 http://www.cora.nwra.com
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@xmlbeans.apache.org
>> For additional commands, e-mail: dev-help@xmlbeans.apache.org
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@xmlbeans.apache.org
> For additional commands, e-mail: dev-help@xmlbeans.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: dev-help@xmlbeans.apache.org
RE: How to build from source from scratch
Posted by Cezar Andrei <ce...@oracle.com>.
No, you need the checked in binary (external/lib/oldxbeans.jar). If you run 'ant bootstrap' twice, first time you'll probably get a warning that there are differences, but second time the binary should be the same, i.e. based only on the sources available.
XMLBeans needs itself because in order to understand schema files we need to compile the schema for schemas into xsd xbeans, these s4s xbeans are used to verify, load xsd files in memory and create the schema type system.
Cezar
> -----Original Message-----
> From: Orion Poplawski [mailto:orion@cora.nwra.com]
> Sent: Monday, October 19, 2009 12:29 PM
> To: dev@xmlbeans.apache.org
> Subject: How to build from source from scratch
>
> I'm looking into packaging xmlbeans for Fedora. A requirement is to not
> ship/use any prebuilt jar files. It looks like xmlbeans requires some
> kind of bootstrap build. Is building completely from source possible?
>
> Thanks!
>
> --
> Orion Poplawski
> Technical Manager 303-415-9701 x222
> NWRA/CoRA Division FAX: 303-415-9702
> 3380 Mitchell Lane orion@cora.nwra.com
> Boulder, CO 80301 http://www.cora.nwra.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@xmlbeans.apache.org
> For additional commands, e-mail: dev-help@xmlbeans.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: dev-help@xmlbeans.apache.org