You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by Neeraj Bajaj <Ne...@Sun.COM> on 2002/12/05 12:19:56 UTC
Re: xjavac missing. commenting out right solution?
> Seems to me that avoiding a custom task is the way to go.
+1.
I would accept that I didn't understand the problem first. I just did the fresh
checkout from CVS and it doesn't work.
get following error,
taskdef class org.apache.xerces.util.XJavac cannot be found
I can't build it. I have to change all the places where 'xjava' task is used.
I am just wondering, is it same for everyone ? Has anyone tried doing fresh
checkout from CVS ? Does it work out of the box ?
Neeraj
> Ted
>
> ----- Original Message -----
> From: <ne...@ca.ibm.com>
> To: <xe...@xml.apache.org>
> Sent: Tuesday, November 26, 2002 1:13 PM
> Subject: Re: xjavac missing. commenting out right solution?
>
>
> > Hi Ted,
> >
> > But what do we do if it's not available--i.e., how do we tell ant
> >
> > if( -e xjavac) use xjavac to compile stuff
> > else use javac
> >
> > (to use a vaguely sh-ish pseudocode). I've no doubt if can be done; just
> > not sure how to model conditional execution in ant (let alone conditional
> > task definition).
> >
> > Anyway, perhaps I should repost the tools distros. I also think Xalan
> > found a solution to massaging the bootclasspath that didn't use a custom
> > task; perhaps we should move in that direction in the long run.
> >
> > Cheers,
> > Neil
> > Neil Graham
> > XML Parser Development
> > IBM Toronto Lab
> > Phone: 905-413-3519, T/L 969-3519
> > E-mail: neilg@ca.ibm.com
> >
> >
> >
> >
> > |---------+---------------------------->
> > | | "Ted Leung" |
> > | | <twleung@sauria.c|
> > | | om> |
> > | | |
> > | | 11/26/2002 03:53 |
> > | | PM |
> > | | Please respond to|
> > | | xerces-j-dev |
> > | | |
> > |---------+---------------------------->
> >
> >---------------------------------------------------------------------------
> ------------------------------------------------------------------|
> > |
> |
> > | To: <xe...@xml.apache.org>
> |
> > | cc:
> |
> > | Subject: Re: xjavac missing. commenting out right solution?
> |
> > |
> |
> > |
> |
> >
> >---------------------------------------------------------------------------
> ------------------------------------------------------------------|
> >
> >
> >
> > Hi Neil,
> >
> > This bit me during the Hackathon as well. I seem to recall that Ant has a
> > way of detecting whether a taskdef is present. I think it would be worth
> > it
> > to see if the xjavac task can be invoked only when its available.
> >
> > Ted
> > ----- Original Message -----
> > From: <ne...@ca.ibm.com>
> > To: <xe...@xml.apache.org>
> > Sent: Tuesday, November 26, 2002 12:02 PM
> > Subject: Re: xjavac missing. commenting out right solution?
> >
> >
> > > Hi Troy,
> > >
> > > Commenting this out should work fine, so long as you're not compiling
> > under
> > > an IBM JDK1.4.x. The root of the problem was that our tools generation
> > > code was a bit broken--more seriously than this, is also removed the
> > > LICENSE files for the jars included there...--and this only became
> > evident
> > > after 2.2.1.
> > >
> > > Cheers,
> > > Neil
> > > Neil Graham
> > > XML Parser Development
> > > IBM Toronto Lab
> > > Phone: 905-413-3519, T/L 969-3519
> > > E-mail: neilg@ca.ibm.com
> > >
> > >
> > >
> > >
> > > |---------+---------------------------->
> > > | | "Troy" |
> > > | | <tj...@tksoft.com> |
> > > | | |
> > > | | 11/26/2002 07:53 |
> > > | | AM |
> > > | | Please respond to|
> > > | | xerces-j-dev |
> > > | | |
> > > |---------+---------------------------->
> > >
> > >
> > --------------------------------------------------------------------------
> -
> > ------------------------------------------------------------------|
> > > |
> > |
> > > | To: xerces-j-dev@xml.apache.org
> > |
> > > | cc:
> > |
> > > | Subject: xjavac missing. commenting out right solution?
> > |
> > > |
> > |
> > > |
> > |
> > >
> > >
> > --------------------------------------------------------------------------
> -
> > ------------------------------------------------------------------|
> > >
> > >
> > >
> > >
> > > I just downloaded the xerces xerces-2_2_1 and built
> > > them on linux and j2sdk 1.4.1.
> > >
> > > The file tools/bin/xjavac.jar is missing, and I
> > > couldn't find where to get it, so I commented out
> > > the relevant portions in the build.xml file.
> > > This seemed to work.
> > >
> > > I was wondering if this is what was intended.
> > >
> > >
> > > Thanks,
> > >
> > >
> > > Troy
> > >
> > > Troy Korjuslommi Tksoft Inc.
> > > tjk@tksoft.com
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
> > > For additional commands, e-mail: xerces-j-dev-help@xml.apache.org
> > >
> > >
> > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
> > > For additional commands, e-mail: xerces-j-dev-help@xml.apache.org
> > >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
> > For additional commands, e-mail: xerces-j-dev-help@xml.apache.org
> >
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
> > For additional commands, e-mail: xerces-j-dev-help@xml.apache.org
> >
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
> For additional commands, e-mail: xerces-j-dev-help@xml.apache.org
>
-- Neeraj
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org