Hi Mukul,

It does not feel like a good idea to exclude tests from the src zip/tars. This 
is most likely due to our use of Ant; this would not be an issue with Maven 
obviously, since it packages tests in a test jar and in sources, at least in 
the way we use Maven in other projects (Commons for example). Since we deliver 
sources, it seems reasonable to deliver tests to support the use case where a 
user or Linux distro wants to build from scratch and use git: 
- Download src zip or tar
- Possibly edit sources for reason X or to fix a bug
- Test and Build
- "Release" internally to the users dist system (or not)

WDYT?

It might even be worth porting the build to Maven at this point.

Gary

On 2022/10/31 04:26:15 Mukul Gandhi wrote:
> Hi Gary,
>     The XalanJ tests (like the "sometest"), are not intended to be run
> from the XalanJ functional codebase build (i.e, from the repos
> xalan-java. That's what you're trying to do I guess). Instead XalanJ
> tests, are to be run from the repos xalan-test.
> 
> We had earlier, described the process, to run XalanJ tests within the
> file README on the repos xalan-java (branch xalan-j_2_7_1_maint). That
> works fine for me, to run the XalanJ tests. The location of, this
> README file is 
> https://gitbox.apache.org/repos/asf?p=xalan-java.git;a=blob_plain;f=README;hb=refs/heads/xalan-j_2_7_1_maint.
> 
> On Sun, Oct 30, 2022 at 8:50 PM Gary Gregory <garydgreg...@gmail.com> wrote:
> 
> > When I unzip the src zip and run 'ant smoketest' I get:
> >
> > ...
> > jar:
> >
> > smoketest-run:
> >      [echo]  [minitest] Calling ../test/build.xml to run the Smoketest
> >
> > BUILD FAILED
> > /Users/garydgregory/Downloads/xalan-j_2_7_3/build.xml:1507: The following 
> > error occurred while executing this line:
> > Error reading project file /Users/garydgregory/Downloads/test/build.xml: 
> > /Users/garydgregory/Downloads/test/build.xml
> >
> > Gary
> 
> 
> -- 
> Regards,
> Mukul Gandhi
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@xalan.apache.org
> For additional commands, e-mail: dev-h...@xalan.apache.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@xalan.apache.org
For additional commands, e-mail: dev-h...@xalan.apache.org

Reply via email to