You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by Vik Tara <vi...@propco.co.uk> on 2012/06/26 21:16:54 UTC

Building from Hudson or Jenkins

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: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


Re: Building from Hudson or Jenkins

Posted by Bhavya Sharma <bh...@gmail.com>.
Well then as  java programmer i can only suggest you to set the class path
manually either in the build script file or on console  before running the
script

On Wednesday, June 27, 2012, Vik Tara <vi...@propco.co.uk> wrote:
> I did try that already - that's what is confusing.
>
> I don't have this problem when building from ant in eclipse.
>
> On 27/06/12 05:56, Bhavya Sharma wrote:
>
> check this thread
>
>
http://old.nabble.com/Facing-Error-while-building-Leyna---properties-build.xml%3A162%3A-taskdef-class-com.thaiopensource.relaxng.util.JingTask-cannot-be-found-td29222190.html
>
> On Wed, Jun 27, 2012 at 12:46 AM, Vik Tara <vi...@propco.co.uk> 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: user-unsubscribe@lenya.apache.org
>> For additional commands, e-mail: user-help@lenya.apache.org
>>
>
>
>
> --
> Thanks with regards
>
> Bhavya Sharma
>         निष्काम
>
>
>

-- 
*Thanks with regards
*
*Bhavya Sharma*
        निष्काम

Re: Building from Hudson or Jenkins

Posted by Vik Tara <vi...@propco.co.uk>.
I did try that already - that's what is confusing.

I don't have this problem when building from ant in eclipse.

On 27/06/12 05:56, Bhavya Sharma wrote:
> check this thread
>
> http://old.nabble.com/Facing-Error-while-building-Leyna---properties-build.xml%3A162%3A-taskdef-class-com.thaiopensource.relaxng.util.JingTask-cannot-be-found-td29222190.html
>
> On Wed, Jun 27, 2012 at 12:46 AM, Vik Tara <vik@propco.co.uk 
> <ma...@propco.co.uk>> 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: user-unsubscribe@lenya.apache.org
>     <ma...@lenya.apache.org>
>     For additional commands, e-mail: user-help@lenya.apache.org
>     <ma...@lenya.apache.org>
>
>
>
>
> -- 
> /*Thanks with regards*
> /
> *Bhavya Sharma*
>  निष्काम
>



Re: Building from Hudson or Jenkins

Posted by Bhavya Sharma <bh...@gmail.com>.
check this thread

http://old.nabble.com/Facing-Error-while-building-Leyna---properties-build.xml%3A162%3A-taskdef-class-com.thaiopensource.relaxng.util.JingTask-cannot-be-found-td29222190.html

On Wed, Jun 27, 2012 at 12:46 AM, Vik Tara <vi...@propco.co.uk> 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: user-unsubscribe@lenya.apache.**org<us...@lenya.apache.org>
> For additional commands, e-mail: user-help@lenya.apache.org
>
>


-- 
*Thanks with regards
*
*Bhavya Sharma*
        निष्काम

Re: Building from Hudson or Jenkins

Posted by Anish Sneh <an...@googlemail.com>.
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 <vi...@propco.co.uk> 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: user-unsubscribe@lenya.apache.**org<us...@lenya.apache.org>
> For additional commands, e-mail: user-help@lenya.apache.org
>
>


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