You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by sac sha <sa...@gmail.com> on 2009/11/10 03:33:05 UTC

How to avoid firedocs.xpi download during lenya build.

Hi All

I am using firedocs with lenya 2.0. Every time I build lenya it download the
firedocs xpi plugin. Somtimes I have to wait long just to complete the build
process which hangs due to unavailability of firedocs.xpi. Is there any way
that I can skip the download while building lenya.

-- 
Regards
Sachin Sharma

Re: How to avoid firedocs.xpi download during lenya build.

Posted by Andreas Hartmann <an...@apache.org>.
Michael Wechner schrieb:
> rudolf.korhummel@uniklinik-freiburg.de schrieb:
>> Hi Sac,
>>
>> sac sha <sa...@gmail.com> schrieb am 10.11.2009 03:41:26:
>>
>>  
>>> Hi
>>>
>>> I have succeed in doing so. I have just commented out the line from
>>> build.xml and it worked. But I think this is not the proper way. If
>>> anybody has any idea please let me know.
>>>
>>>     
>> One possible solution might be to put the firedocs.xpi into the firedocs
>> module instead of downloading it.
> 
> isn't that a licensing problem?
>>  Maybe the resources folder would be a
>> place for it. What do you think about it ? Does anyone else have any
>> further comments ?
>>   
> 
> generally speaking I think Lenya should introduce a "maven" like 
> dependency management.

Lenya 2.2 uses Maven. I'm using Cocoon 2.2 and Maven for a project at 
the moment; it has some advantages but IMO it can become pretty tricky, 
especially when 3rd-party version incompatibilities occur.

Best regards,
Andreas



-- 
Andreas Hartmann, CTO
BeCompany GmbH
http://www.becompany.ch
Tel.: +41 (0) 43 818 57 01


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


Re: How to avoid firedocs.xpi download during lenya build.

Posted by Michael Wechner <mi...@wyona.com>.
rudolf.korhummel@uniklinik-freiburg.de schrieb:
> Hi Sac,
>
> sac sha <sa...@gmail.com> schrieb am 10.11.2009 03:41:26:
>
>   
>> Hi
>>
>> I have succeed in doing so. I have just commented out the line from
>> build.xml and it worked. But I think this is not the proper way. If
>> anybody has any idea please let me know.
>>
>>     
> One possible solution might be to put the firedocs.xpi into the firedocs
> module instead of downloading it.

isn't that a licensing problem?
>  Maybe the resources folder would be a
> place for it. What do you think about it ? Does anyone else have any
> further comments ?
>   

generally speaking I think Lenya should introduce a "maven" like 
dependency management.

Cheers

Michael
> Regards
>
> Rudolf
>
>   
>> Regards
>> Sac
>> On Tue, Nov 10, 2009 at 2:33 AM, sac sha <sa...@gmail.com> wrote:
>> Hi All
>>
>> I am using firedocs with lenya 2.0. Every time I build lenya it
>> download the firedocs xpi plugin. Somtimes I have to wait long just
>> to complete the build process which hangs due to unavailability of
>> firedocs.xpi. Is there any way that I can skip the download while
>> building lenya.
>>
>> --
>> Regards
>> Sachin Sharma
>>     
>
>   
>>
>> --
>> Regards
>> Sachin Sharma
>>     
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> For additional commands, e-mail: user-help@lenya.apache.org
>
>   


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


Re: How to avoid firedocs.xpi download during lenya build.

Posted by sac sha <sa...@gmail.com>.
Thanks a lot.

Regards
Sac

On Tue, Nov 24, 2009 at 2:32 PM, Richard Frovarp <rf...@apache.org>wrote:

> Rudolf Korhummel wrote:
>
>>
>>
>>  I would prefer to include it within the module.
>>>>
>>> +1
>>>
>>> Regards
>>>
>>> Vik
>>>
>>
>> Since there were no objections, I've included firedocs-1.2.4.xpi within
>> the module
>>
>> Regards
>>
>> Rudolf
>>
> Thanks!
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> For additional commands, e-mail: user-help@lenya.apache.org
>
>

Re: How to avoid firedocs.xpi download during lenya build.

Posted by Richard Frovarp <rf...@apache.org>.
Rudolf Korhummel wrote:
>
>
>>> I would prefer to include it within the module.
>> +1
>>
>> Regards
>>
>> Vik
>
> Since there were no objections, I've included firedocs-1.2.4.xpi 
> within the module
>
> Regards
>
> Rudolf
Thanks!

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


Re: How to avoid firedocs.xpi download during lenya build.

Posted by Rudolf Korhummel <ru...@korhummel.de>.

>> I would prefer to include it within the module.
> +1
>
> Regards
>
> Vik

Since there were no objections, I've included firedocs-1.2.4.xpi  
within the module

Regards

Rudolf
>
> On 17/11/09 19:08, Rudolf Korhummel wrote:
>>
>> Am 16.11.2009 um 22:54 schrieb Michael Wechner:
>>
>>> Thomas Comiotto wrote:
>>>>> I guess that's a licensing problem, right?
>>>>>
>>>>
>>>> no.
>>>
>>> ok, I now see that Firedocs is distributed under the Apache  
>>> License 2.0
>>>
>>> http://www.firedocs.org/about/licenses
>>>
>>> (IIRC it used to be based on GPL or was it always the Apache  
>>> license 2.0?)
>>>
>>> So, yes, I think it would make sense to include it within module,  
>>> since I guess that doesn't make much difference, because it  
>>> currently
>>> is downloaded everytime anyway and I think it's actually good to  
>>> have it based on a specific version.
>>>
>>> WDYT?
>>>
>> I would prefer to include it within the module. Do you think the  
>> resources folder would be a good place for it ?
>> An alternative way would be to use svn:externals to access it from  
>> firedocs.org at svn checkout.
>>
>> WDYT ?
>>
>> Rudolf
>>> Thanks
>>>
>>> Michael
>>>>
>>>> Thomas
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
>>>> For additional commands, e-mail: user-help@lenya.apache.org
>>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
>>> For additional commands, e-mail: user-help@lenya.apache.org
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
>> For additional commands, e-mail: user-help@lenya.apache.org
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> For additional commands, e-mail: user-help@lenya.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


Re: How to avoid firedocs.xpi download during lenya build.

Posted by Vik Tara <vi...@propco.co.uk>.
> I would prefer to include it within the module.
+1

Regards

Vik

On 17/11/09 19:08, Rudolf Korhummel wrote:
>
> Am 16.11.2009 um 22:54 schrieb Michael Wechner:
>
>> Thomas Comiotto wrote:
>>>> I guess that's a licensing problem, right?
>>>>
>>>
>>> no.
>>
>> ok, I now see that Firedocs is distributed under the Apache License 2.0
>>
>> http://www.firedocs.org/about/licenses
>>
>> (IIRC it used to be based on GPL or was it always the Apache license 
>> 2.0?)
>>
>> So, yes, I think it would make sense to include it within module, 
>> since I guess that doesn't make much difference, because it currently
>> is downloaded everytime anyway and I think it's actually good to have 
>> it based on a specific version.
>>
>> WDYT?
>>
> I would prefer to include it within the module. Do you think the 
> resources folder would be a good place for it ?
> An alternative way would be to use svn:externals to access it from 
> firedocs.org at svn checkout.
>
> WDYT ?
>
> Rudolf
>> Thanks
>>
>> Michael
>>>
>>> Thomas
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
>>> For additional commands, e-mail: user-help@lenya.apache.org
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
>> For additional commands, e-mail: user-help@lenya.apache.org
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> For additional commands, e-mail: user-help@lenya.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


Re: How to avoid firedocs.xpi download during lenya build.

Posted by Rudolf Korhummel <ru...@korhummel.de>.
Am 16.11.2009 um 22:54 schrieb Michael Wechner:

> Thomas Comiotto wrote:
>>> I guess that's a licensing problem, right?
>>>
>>
>> no.
>
> ok, I now see that Firedocs is distributed under the Apache License  
> 2.0
>
> http://www.firedocs.org/about/licenses
>
> (IIRC it used to be based on GPL or was it always the Apache license  
> 2.0?)
>
> So, yes, I think it would make sense to include it within module,  
> since I guess that doesn't make much difference, because it currently
> is downloaded everytime anyway and I think it's actually good to  
> have it based on a specific version.
>
> WDYT?
>
I would prefer to include it within the module. Do you think the  
resources folder would be a good place for it ?
An alternative way would be to use svn:externals to access it from  
firedocs.org at svn checkout.

WDYT ?

Rudolf
> Thanks
>
> Michael
>>
>> Thomas
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
>> For additional commands, e-mail: user-help@lenya.apache.org
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> For additional commands, e-mail: user-help@lenya.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


Re: How to avoid firedocs.xpi download during lenya build.

Posted by Michael Wechner <mi...@wyona.com>.
Thomas Comiotto wrote:
>> I guess that's a licensing problem, right?
>>
>
> no.

ok, I now see that Firedocs is distributed under the Apache License 2.0

http://www.firedocs.org/about/licenses

(IIRC it used to be based on GPL or was it always the Apache license 2.0?)

So, yes, I think it would make sense to include it within module, since 
I guess that doesn't make much difference, because it currently
is downloaded everytime anyway and I think it's actually good to have it 
based on a specific version.

WDYT?

Thanks

Michael
>
> Thomas
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> For additional commands, e-mail: user-help@lenya.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


Re: How to avoid firedocs.xpi download during lenya build.

Posted by Thomas Comiotto <th...@id.uzh.ch>.
> I guess that's a licensing problem, right?
>

no.

Thomas


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


Re: How to avoid firedocs.xpi download during lenya build.

Posted by Michael Wechner <mi...@wyona.com>.
Thomas Comiotto wrote:
>
> Am 16.11.2009 um 20:57 schrieb Vik Tara:
>
>> Hi Rudolf,
>>> One possible solution might be to put the firedocs.xpi into the 
>>> firedocs
>>> module instead of downloading it.
>>
>> Isn't this a simple solution? Why do we need to download something 
>> from somewhere if it's already in the module?
>>
>
> You save minor maintenance tasks, e.g. checking for fixes and 
> deploying the xpi.
> @Michi: the current version of the build script hangs offline too.

ant maven also works offline ;-)
>
> Given that offline time of most people/machines is limited these days 
> I would go with the change I suggested.

well, I am offline quite often though, although I recently flew Delta 
and they had wireless at 30K feet which was quite amazing though,
so agreed it becomes less frequent, but I know companies which have 
"offline builds" as a requirement (in the case of emergencies), because
if the internet is not accessible, they still want to be able to rebuild 
and use it
> But if you prefer to ship the module with a copy of firedocs.xpi 
> that's fine with me too.

I guess that's a licensing problem, right?

Cheers

Michael
>
> Best
> Thomas
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> For additional commands, e-mail: user-help@lenya.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


Re: How to avoid firedocs.xpi download during lenya build.

Posted by Thomas Comiotto <th...@id.uzh.ch>.
Am 16.11.2009 um 20:57 schrieb Vik Tara:

> Hi Rudolf,
>> One possible solution might be to put the firedocs.xpi into the  
>> firedocs
>> module instead of downloading it.
>
> Isn't this a simple solution? Why do we need to download something  
> from somewhere if it's already in the module?
>

You save minor maintenance tasks, e.g. checking for fixes and  
deploying the xpi.
@Michi: the current version of the build script hangs offline too.

Given that offline time of most people/machines is limited these days  
I would go with the change I suggested.
But if you prefer to ship the module with a copy of firedocs.xpi  
that's fine with me too.

Best
Thomas



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


Re: How to avoid firedocs.xpi download during lenya build.

Posted by Vik Tara <vi...@propco.co.uk>.
Hi Rudolf,
> One possible solution might be to put the firedocs.xpi into the firedocs
> module instead of downloading it.

Isn't this a simple solution? Why do we need to download something from 
somewhere if it's already in the module?

Regards


Vik


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


Re: How to avoid firedocs.xpi download during lenya build.

Posted by Michael Wechner <mi...@wyona.com>.
Thomas Comiotto wrote:
> Hi Rudolf
>
>>
>>
>> Trying this at home I realised that the build hangs if there is no 
>> response from the download site.
>> Unfortunately a timeout can't be assigned to the get task, so we 
>> might have to look for an other solution.
>>
>
> Please change the script nevertheless.
> I figured firedocs.org uses quite some bandwith due to lenya builds.

I don't think the script should be changed if it makes the build hang. 
But maybe I misunderstand something or rather Rudolf can explain
in more detail what happened exactly. As mentioned before using 
something like Ant-Maven does work without problem (offline and online)
and I don't understand why the Lenya dev community is hesitant to 
introduce something like this, because it could save a lot of trouble 
and bandwidth ;-)

Cheers

Michael
>
> Thanks
> Thomas
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> For additional commands, e-mail: user-help@lenya.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


Re: How to avoid firedocs.xpi download during lenya build.

Posted by Thomas Comiotto <th...@id.uzh.ch>.
Hi Rudolf

>
>
> Trying this at home I realised that the build hangs if there is no  
> response from the download site.
> Unfortunately a timeout can't be assigned to the get task, so we  
> might have to look for an other solution.
>

Please change the script nevertheless.
I figured firedocs.org uses quite some bandwith due to lenya builds.

Thanks
Thomas



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


Re: How to avoid firedocs.xpi download during lenya build.

Posted by Rudolf Korhummel <ru...@korhummel.de>.
Am 10.11.2009 um 10:16 schrieb rudolf.korhummel@uniklinik-freiburg.de:

>
> Michael Wechner <mi...@wyona.com> schrieb am 10.11.2009  
> 10:04:00:
>
>> Thomas Comiotto schrieb:
>>> Hi Rudolf
>>>
>>>>
>>>> One possible solution might be to put the firedocs.xpi into the
> firedocs
>>>> module instead of downloading it. Maybe the resources folder  
>>>> would be
> a
>>>> place for it. What do you think about it ? Does anyone else have  
>>>> any
>>>> further comments ?
>>>>
>>>
>>> Add usetimestamp="true" ignoreerrors="true" to the <get> task of
>>> build.xml
>>
>> sounds like a nice patch in order to commit. WDYT?
>>
>> Thanks
>>
>> Michael
>
> +1 (I think it's a better suggestion. Thanks Thomas)
>
> Rudolf

Trying this at home I realised that the build hangs if there is no  
response from the download site.
Unfortunately a timeout can't be assigned to the get task, so we might  
have to look for an other solution.

Rudolf
>
>>>
>>> Best
>>> Thomas
>>>
>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
>>> For additional commands, e-mail: user-help@lenya.apache.org
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
>> For additional commands, e-mail: user-help@lenya.apache.org
>>
>>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> For additional commands, e-mail: user-help@lenya.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


Re: How to avoid firedocs.xpi download during lenya build.

Posted by ru...@uniklinik-freiburg.de.
Michael Wechner <mi...@wyona.com> schrieb am 10.11.2009 10:04:00:

> Thomas Comiotto schrieb:
> > Hi Rudolf
> >
> >>
> >> One possible solution might be to put the firedocs.xpi into the
firedocs
> >> module instead of downloading it. Maybe the resources folder would be
a
> >> place for it. What do you think about it ? Does anyone else have any
> >> further comments ?
> >>
> >
> > Add usetimestamp="true" ignoreerrors="true" to the <get> task of
> > build.xml
>
> sounds like a nice patch in order to commit. WDYT?
>
> Thanks
>
> Michael

+1 (I think it's a better suggestion. Thanks Thomas)

Rudolf

> >
> > Best
> > Thomas
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> > For additional commands, e-mail: user-help@lenya.apache.org
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> For additional commands, e-mail: user-help@lenya.apache.org
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


Re: How to avoid firedocs.xpi download during lenya build.

Posted by Michael Wechner <mi...@wyona.com>.
Thomas Comiotto schrieb:
> Hi Rudolf
>
>>
>> One possible solution might be to put the firedocs.xpi into the firedocs
>> module instead of downloading it. Maybe the resources folder would be a
>> place for it. What do you think about it ? Does anyone else have any
>> further comments ?
>>
>
> Add usetimestamp="true" ignoreerrors="true" to the <get> task of 
> build.xml

sounds like a nice patch in order to commit. WDYT?

Thanks

Michael
>
> Best
> Thomas
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> For additional commands, e-mail: user-help@lenya.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


Re: How to avoid firedocs.xpi download during lenya build.

Posted by Thomas Comiotto <th...@id.uzh.ch>.
Hi Rudolf

>
> One possible solution might be to put the firedocs.xpi into the  
> firedocs
> module instead of downloading it. Maybe the resources folder would  
> be a
> place for it. What do you think about it ? Does anyone else have any
> further comments ?
>

Add usetimestamp="true" ignoreerrors="true" to the <get> task of  
build.xml

Best
Thomas




---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


Re: How to avoid firedocs.xpi download during lenya build.

Posted by ru...@uniklinik-freiburg.de.
Hi Sac,

sac sha <sa...@gmail.com> schrieb am 10.11.2009 03:41:26:

>
> Hi
>
> I have succeed in doing so. I have just commented out the line from
> build.xml and it worked. But I think this is not the proper way. If
> anybody has any idea please let me know.
>
One possible solution might be to put the firedocs.xpi into the firedocs
module instead of downloading it. Maybe the resources folder would be a
place for it. What do you think about it ? Does anyone else have any
further comments ?

Regards

Rudolf

>
> Regards
> Sac
> On Tue, Nov 10, 2009 at 2:33 AM, sac sha <sa...@gmail.com> wrote:
> Hi All
>
> I am using firedocs with lenya 2.0. Every time I build lenya it
> download the firedocs xpi plugin. Somtimes I have to wait long just
> to complete the build process which hangs due to unavailability of
> firedocs.xpi. Is there any way that I can skip the download while
> building lenya.
>
> --
> Regards
> Sachin Sharma

>
>
>
> --
> Regards
> Sachin Sharma



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


Re: How to avoid firedocs.xpi download during lenya build.

Posted by sac sha <sa...@gmail.com>.
Hi

I have succeed in doing so. I have just commented out the line from
build.xml and it worked. But I think this is not the proper way. If anybody
has any idea please let me know.

Regards
Sac
On Tue, Nov 10, 2009 at 2:33 AM, sac sha <sa...@gmail.com> wrote:

> Hi All
>
> I am using firedocs with lenya 2.0. Every time I build lenya it download
> the firedocs xpi plugin. Somtimes I have to wait long just to complete the
> build process which hangs due to unavailability of firedocs.xpi. Is there
> any way that I can skip the download while building lenya.
>
> --
> Regards
> Sachin Sharma
>
>


-- 
Regards
Sachin Sharma