Thanks David. Just used aptitude on Ubuntu to install ANT and it ended
up installing 1.6.5. Didnt realize it until I started looking at the
failure

On 10/2/07, David Blevins <[EMAIL PROTECTED]> wrote:
> You need Ant 1.7 to get the osfamily support.
>
> -David
>
> On Oct 2, 2007, at 4:36 PM, Karan Malhi wrote:
>
> > Dain,
> >
> > Did a quick test on linux with Sun 1.5 , but the build failed. Below
> > is the output:
> >
> > [EMAIL PROTECTED]:~/temp$ ant test
> > Buildfile: build.xml
> >
> > test:
> >
> > openejb.test.setup:
> >
> > download.uptodate:
> >
> > download.file:
> >     [mkdir] Created dir: /home/karan/temp/repo/openejb/
> > distributions/3.0-beta-1
> >       [get] Getting:
> > http://www.apache.org/dist/openejb/3.0-beta-1/openejb-3.0-beta-1.zip
> >       [get] To:
> > /home/karan/temp/repo/openejb/distributions/3.0-beta-1/openejb.zip
> >
> > download.uptodate:
> >
> > download.file:
> >       [get] Getting:
> > http://people.apache.org/~dblevins/openejb-itests-app-3.0-beta-1.jar
> >       [get] To:
> > /home/karan/temp/repo/openejb/distributions/3.0-beta-1/openejb-
> > itests-app.jar
> >
> > download.uptodate:
> >
> > download.file:
> >       [get] Getting:
> > http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/
> > apache/openejb/openejb-itests-standalone-client/3.0-beta-1/openejb-
> > itests-standalone-client-3.0-beta-1.jar
> >       [get] To:
> > /home/karan/temp/repo/openejb/distributions/3.0-beta-1/openejb-
> > itests-standalone-client.jar
> >
> > openejb.test:
> >
> > openejb.unpack:
> >     [mkdir] Created dir: /home/karan/temp/target
> >     [unjar] Expanding:
> > /home/karan/temp/repo/openejb/distributions/3.0-beta-1/openejb.zip
> > into /home/karan/temp/target
> >      [copy] Copying 1 file to /home/karan/temp/target/openejb-3.0-
> > beta-1/apps
> >
> > openejb.start:
> >      [echo] Starting OpenEJB 3.0-beta-1...
> >
> > BUILD FAILED
> > /home/karan/temp/build.xml:38: The following error occurred while
> > executing this line:
> > /home/karan/temp/build.xml:79: The following error occurred while
> > executing this line:
> > /home/karan/temp/build.xml:102: The <exec> type doesn't support the
> > "osfamily" attribute.
> >
> > Total time: 39 seconds
> >
> >
> > ***************And here is the java version I have used
> > ********************
> > [EMAIL PROTECTED]:~/temp$ java -version
> > java version "1.5.0_12"
> > Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_12-b04)
> > Java HotSpot(TM) Client VM (build 1.5.0_12-b04, mixed mode, sharing)
> >
> >
> > On 10/2/07, Dain Sundstrom <[EMAIL PROTECTED]> wrote:
> >> Yesterday I discovered that our code runs fine on Java 6, so I went
> >> back and verified the 3.0-beta-1 release using the Sun Java 6 VM on
> >> Windows and OSX which we passed.  In the process, I wrote this simple
> >> ant script:
> >>
> >>    http://svn.apache.org/repos/asf/openejb/trunk/website/src/doc/
> >> build.xml
> >>
> >> To use it, simply download the build.xml file and run "ant test" or
> >> "ant test-all" with ant 1.7.  The script downloads OpenEJB, the
> >> iTests, and one (ant test) or four (ant test-all) versions of
> >> Tomcat.  I chose ant because I want rope more people into testing
> >> OpenEJB on their box and everyone's got ant :)
> >>
> >> I updated the download page to reflect the passes on Windows and Mac
> >> 1.6, and if you get it to pass on another platform, please update the
> >> page (if not report it here).
> >>
> >>    http://cwiki.apache.org/confluence/display/OPENEJB/OpenEJB+3.0
> >> +beta+1
> >>
> >> I'm especially looking for runs using the Sun 1.6 VM on Linux and the
> >> IBM 1.5/1.6 VMs on Windows and Linux.  Also Solaris would be nice...
> >>
> >>
> >> -dain
> >>
> >>
> >>
> >
> >
> > --
> > Karan Singh Malhi
> >
>
>


-- 
Karan Singh Malhi

Reply via email to