Saxon-HE: Build files/instructions for the Open Source repository?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Saxon-HE: Build files/instructions for the Open Source repository?

Emanuel Wlaschitz
I was wondering if there are any *complete* build files available for the Open Source repository, or at least instructions on how to build both the Java and the .NET parts from scratch.
Building both would have a bunch of benefits, including the possibility of making custom builds until the official versions are out, and debugging things that seem odd at first.

As far as I could see for the latest9.6 branch, a bunch of build files are just plain missing. The first one to show up is build-locations.xml (which is indeed present for latest9.5, after someone asked for it on the ML iirc), the next one is samples-common.xml, then its build-j-signer.xml (which sounds like some sort of signature thingy; obviously not to be included in its original form).
I guess the major problem is samples-common.xml, since the others are either available elsewhere or can just be commented out.

Thanks.
- Emanuel

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
saxon-help mailing list archived at http://saxon.markmail.org/
[hidden email]
https://lists.sourceforge.net/lists/listinfo/saxon-help 
Reply | Threaded
Open this post in threaded view
|

Re: Saxon-HE: Build files/instructions for the Open Source repository?

Michael Kay
I think we've possibly done a simplified build file in the past, but it all depends on how much you want to simplify. For the simplest possible build, you work from the source.zip file on SourceForge rather than the repository, as this cuts out the preprocessing step; you build HE-J only (not .NET), you leave out the optional modules with dependencies such as DOM4J, JDOM2, XOM, and the SQL module, and you leave out all the stuff connected with building the documentation, the sample applications, and test frameworks. That cuts the whole thing down to about 10% of the original. As soon as you start adding any of those things back in (e.g. .NET) the complexity starts to build up again.

I think many people have found that it's simpler just to load the (post-preprocessing) source into your IDE, delete the optional modules in "net.sf.saxon.options", and press "compile".

The signer module should just be dummied out; build-locations contains the mapping of Ant properties to locations of source files on your particular machine, but I guess we could issue a dummy version of some kind.

Michael Kay
Saxonica
[hidden email]
+44 (0) 118 946 5893




On 9 Mar 2015, at 07:18, Emanuel Wlaschitz <[hidden email]> wrote:

> I was wondering if there are any *complete* build files available for the Open Source repository, or at least instructions on how to build both the Java and the .NET parts from scratch.
> Building both would have a bunch of benefits, including the possibility of making custom builds until the official versions are out, and debugging things that seem odd at first.
>
> As far as I could see for the latest9.6 branch, a bunch of build files are just plain missing. The first one to show up is build-locations.xml (which is indeed present for latest9.5, after someone asked for it on the ML iirc), the next one is samples-common.xml, then its build-j-signer.xml (which sounds like some sort of signature thingy; obviously not to be included in its original form).
> I guess the major problem is samples-common.xml, since the others are either available elsewhere or can just be commented out.
>
> Thanks.
> - Emanuel
>
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming The Go Parallel Website, sponsored
> by Intel and developed in partnership with Slashdot Media, is your hub for all
> things parallel software development, from weekly thought leadership blogs to
> news, videos, case studies, tutorials and more. Take a look and join the
> conversation now. http://goparallel.sourceforge.net/
> _______________________________________________
> saxon-help mailing list archived at http://saxon.markmail.org/
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/saxon-help 


------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
saxon-help mailing list archived at http://saxon.markmail.org/
[hidden email]
https://lists.sourceforge.net/lists/listinfo/saxon-help