Re: Building from Hudson or Jenkins

Anish Sneh <[email protected]> Tue, 21 Aug 2012 20:03:26 +0530
Newsgroups gmane.comp.cms.lenya.user
Message-ID <CANvZU--2ZCpoHOCZ5Fyz=05W=uxvFOZy2u7KHwzEV+hZ3=xDiQ@mail.gmail.com>
--f46d0402ac456230e404c7c78277
Content-Type: text/plain; charset=ISO-8859-1

Hi Vik

Try adding *jing.jar* to *$ANT_HOME/lib*.

Or try amending build with following:

#####################################################################################################
<path id="jing.classpath">
  <pathelement path="/myjava/jing.jar"/>
</path>
<taskdef name="jing" classname="com.thaiopensource.relaxng.util.JingTask"
classpathref="jing.classpath"/>
#####################################################################################################



On Wed, Jun 27, 2012 at 12:46 AM, Vik Tara <[email protected]> wrote:

> Are any users building lenya from hudson or jenkins with ant?
>
> For some reasons my build fails with:
>
>  properties-build.xml:167: taskdef class com.thaiopensource.relaxng.**util.JingTask
>> cannot be found
>>
>
> Even though I pass the jing.jar to ant with -lib /path/to/jing.jar
>
> Anyone got this working before?
>
>
> Vik
>
>
>
> ------------------------------**------------------------------**---------
> To unsubscribe, e-mail: [email protected].**org<[email protected]>
> For additional commands, e-mail: [email protected]
>
>


-- 
Anish Sneh
"Experience is the best teacher."

--f46d0402ac456230e404c7c78277
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Hi Vik<br><br>Try adding <b>jing.jar</b> to <b>$ANT_HOME/lib</b>.<br><br>Or=
 try amending build with following:<br><br>################################=
#####################################################################<br>
&lt;path id=3D&quot;jing.classpath&quot;&gt;<br>=A0 &lt;pathelement path=3D=
&quot;/myjava/jing.jar&quot;/&gt;<br>&lt;/path&gt;<br>&lt;taskdef name=3D&q=
uot;jing&quot; classname=3D&quot;com.thaiopensource.relaxng.util.JingTask&q=
uot; classpathref=3D&quot;jing.classpath&quot;/&gt;<br>
###########################################################################=
##########################<br><br><br><br><div class=3D"gmail_quote">On Wed=
, Jun 27, 2012 at 12:46 AM, Vik Tara <span dir=3D"ltr">&lt;<a href=3D"mailt=
o:[email protected]" target=3D"_blank">[email protected]</a>&gt;</span> wrote=
:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">Are any users building lenya from hudson or =
jenkins with ant?<br>
<br>
For some reasons my build fails with:<br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
properties-build.xml:167: taskdef class com.thaiopensource.relaxng.<u></u>u=
til.JingTask cannot be found<br>
</blockquote>
<br>
Even though I pass the jing.jar to ant with -lib /path/to/jing.jar<br>
<br>
Anyone got this working before?<br>
<br>
<br>
Vik<br>
<br>
<br>
<br>
------------------------------<u></u>------------------------------<u></u>-=
--------<br>
To unsubscribe, e-mail: <a href=3D"mailto:[email protected]=
" target=3D"_blank">[email protected].<u></u>org</a><br>
For additional commands, e-mail: <a href=3D"mailto:[email protected]=
rg" target=3D"_blank">[email protected]</a><br>
<br>
</blockquote></div><br><br clear=3D"all"><br>-- <br>Anish Sneh<br>&quot;Exp=
erience is the best teacher.&quot;<br>

--f46d0402ac456230e404c7c78277--