Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [stellation-res] Windows Port (Ant test script on Linux) - Status Update

See embedded comments

----- Original Message -----
From: "Jim Wright - IBM Research" <jwright@xxxxxxxxxxxxxx>
To: <stellation-res@xxxxxxxxxxxxxxx>
Sent: Tuesday, April 29, 2003 5:21 PM
Subject: [stellation-res] Windows Port (Ant test script on Linux) - Status
Update


> Jonathan,
>
> Yesterday, I finished testing on Windows (local and remote tests both
worked)
> and moved on to Linux/PostgreSQL tests.
>
> Unfortuately, the org.eclipse.stellation.core/test/build.xml file
> has a number of issues on Linux:
> * a number of targets that should run only once were running
>    multiple times
> * There seem to be an excess of properties (e.g. both username.postgres
>     and username.firebird); my preference is to have such properties set
>     via a properties file (e.g. a single 'username' property, set to
> postgres or
>     firebird username as required for a given test configuration)

The intent here was to be able to extend the test script to run against
multiple databases, one at a time
in a single run. I guess we could restructure this to provide a set of
database specific property files and use those as the triggers to determine
which databases the tests are run against. Do you want me to do this
restructuring?

>
> The org.eclipse.stellation.core/build-core.xml also had at least one
issue:
> * the script files (tsvc, etc), as copied into the ${build.bin} directory,
>    were not being chmod'd at the correct point (_after_ the replace task
>    completed).  This caused problems when the test script used
>    the script files contained in the ../build/bin directory, as opposed to
>    the versions in the inst.bin directory.
Problem with not having a working Linux installtion :-(
>
> There may have been some other issues as well.
> I've just finished running the full test battery (14 tests) using the
tweaked
> build-core.xml and test/build.xml scripts.  Everything worked fine.
> The next step is to retest on Windows, and fix anything that I just broke.
> (Also - I need to fix the build-core.xml clean-install target, since it
> quietly blows
> away everything in usr/local/bin, a distinctly unfriendly act.)

Fixing this fully is non-trivial since you basically need to know what you
installed there the last time you put things in it. It is problems like this
that drive the need for proper installer programs. Perhaps the temporary fix
is to not try and remove our previous stuff automatically.

>
> Grinding away, amidst other distractions ---
>
> Jim
> --
> Jim Wright, IBM T.J. Watson Research Center
> *** The Stellation project: Advanced SCM for Collaboration
> *** http://www.eclipse.org/stellation
> *** Work Email: jwright@xxxxxxxxxxxxxx ------- Personal Email:
> jim.wright@xxxxxxx
>
> _______________________________________________
> stellation-res mailing list
> stellation-res@xxxxxxxxxxxxxxx
> http://dev.eclipse.org/mailman/listinfo/stellation-res



Back to the top