public inbox for mauve-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Daniel Naab <dann@broadjam.com>
To: "'tromey@redhat.com'" <tromey@redhat.com>
Cc: "'mauve-discuss@sources.redhat.com'" <mauve-discuss@sources.redhat.com>
Subject: RE: Mauve usage with custom bootclasspath?
Date: Thu, 06 May 2004 04:28:00 -0000	[thread overview]
Message-ID: <91109D2A38887045A9549186D4D0EE06011B5671@hermes.broadjam.com> (raw)

Thank you much, things seem to be working well.  I have a couple
comments/questions:

There's a problem with build.xml on Windows, which surfaces when building
either through cmd.exe or Cygwin (bash).  The lines...

        <filter token="SRCDIR" value="${user.dir}"/>
        <filter token="TMPDIR" value="${java.io.tmpdir}" />
        <filter token="CHECK_PATH_SEPARATOR" value="${path.separator}"/>
        <filter token="CHECK_FILE_SEPARATOR" value="${file.separator}"/>

.... successfully replace the specified paths in the source, but since
Windows uses "\" as the file separator, the resulting Java code won't
compile.  Somehow those portions of the paths should be escaped out.

I got to this point by trying to create an Ant script to do a Mauve checkout
and build.. I have no trouble building manually, but when trying to run the
configure script from Ant, I ran into the problem that it doesn't seem to
have a way to call a shell script with parameters.. of which some escaped "
characters may exist.  I'm probably just missing something, but noticing
that the Ant script also exists, I realized it would probably be easier just
to call the appropriate compile target instead.  Do I still need to run
configure if using the Ant script?  What would be the steps necessary to
execute the compile target, assuming a clean checkout?  I suppose I could
just use a makefile instead, but now that I'm as far as I am, that urge to
finish is too strong. :)

Thanks.  The test suite looks excellent, and will be a very useful tool for
SwingWT!

Dan Naab

> -----Original Message-----
> From: Tom Tromey [mailto:tromey@redhat.com]
> Sent: Wednesday, May 05, 2004 4:22 PM
> To: Daniel Naab
> Cc: 'mauve-discuss@sources.redhat.com'
> Subject: Re: Mauve usage with custom bootclasspath?
> 
> 
> >>>>> "Daniel" == Daniel Naab <dann@broadjam.com> writes:
> 
> >> ./configure JAVA="{PATH TO JAVA} -bootclasspath=BOOTCLASSPATH"
> Daniel> JAVAC="{PATH TO JAVAC} -bootclasspath=BOOTCLASSPATH"
> 
> Daniel> Is this the correct approach?  Any suggestions for how to
> Daniel> isolate tests just to SwingWT?
> 
> This looks pretty good.
> Once you have everything built, you just need to run the
> `gnu.testlet.SimpleTestHarness' program.  How you launch it is up to
> you.
> 
> This program accepts test names on stdin.  By default the Makefile
> will run it with `cat classes | java ...'.  You can easily subset
> this:  `grep whatever classes | java ...'
> 
> Tom
> 

             reply	other threads:[~2004-05-06  4:28 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-06  4:28 Daniel Naab [this message]
  -- strict thread matches above, loose matches on Subject: below --
2004-05-06 23:10 Daniel Naab
2004-05-05 21:20 Daniel Naab
2004-05-05 21:33 ` Tom Tromey

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=91109D2A38887045A9549186D4D0EE06011B5671@hermes.broadjam.com \
    --to=dann@broadjam.com \
    --cc=mauve-discuss@sources.redhat.com \
    --cc=tromey@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).