You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by Nicolas Lalevée <ni...@hibnet.org> on 2015/05/11 11:08:57 UTC

Re: stuck with site generation issue for ivy

Hi Antoine,

Sorry I forgot to respond to your mail.

The latest milestone folder used to be a external svn dependency. Since we’re using git now, I had to work around it. As my previous email about that, you need to checkout it manually, with the help of an Ant target.

> svn:external have disappeared, they are now replaced with manual git checkout. I have made an ant target to handle it properly.
> 
> For instance, the trunk version (trunk as the name used in the path of the url) correspond to the master branch. Here are the command to checkout, then to generate:
> ant checkout-history -Dhistory.version=master -Dtarget.history.folder=trunk
> ant generate-history -Dhistory.version=trunk
> 
> If the name of the tag is the same as the version in the url, then no need to specify an ‘history folder’:
> ant checkout-history -Dhistory.version=2.4.0
> ant generate-history -Dhistory.version=2.4.0


So you’ll have to run:
ant checkout-history -Dhistory.version=2.4.0 -Dtarget.history.folder=latest-milestone

Nicolas

> Le 16 avr. 2015 à 04:34, Antoine Levy Lambert <an...@gmx.de> a écrit :
> 
> Hi,
> 
> Reposting previous message with a different subject.
> 
> I did a change to https://svn.apache.org/repos/asf/ant/site/ivy/sources/choose-distrib.html in order to document better the fact that the ivy distribution without dependencies is not suitable for large uploads.
> 
> But I am stuck with the site generation.
> 
> When I run “ant generate-site” I see this :
> 
> bash-3.2$ ant generate-site /all
> Buildfile: /Users/antoine/dev/asf/ant-site/ivy/build.xml
> 
> generate-site:
> [xooki:generate] processing 22 source files...
> processing 19 source files...
> [generate] processing /Users/antoine/dev/asf/ant-site/ivy/sources/choose-distrib.html...
> [generate] generating to /Users/antoine/dev/asf/ant-site/ivy/production//choose-distrib.html
>    [print] processing /Users/antoine/dev/asf/ant-site/ivy/sources/history/latest-milestone/index.html...
>    [print] index.html is not a valid xooki source. ignored.
> 
> /all:
> 
> Where do I find ant-site/ivy/sources/history/latest-milestone/index.html for this code generation ?
> 
> Is it possible that this index.html exists in the working copy of one of us but has not been added to subversion ?
> 
> Or do I misunderstand the build process for the doc ?
> 
> I am still thinking that we build the doc of ivy from a working copy pulled from subversion. 
> 
> Correct me if I am wrong.
> 
> I am looking at this file ttps://svn.apache.org/repos/asf/ant/site/README.txt for guidance.
> 
> Regards,
> 
> Antoine
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
> For additional commands, e-mail: dev-help@ant.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Re: stuck with site generation issue for ivy

Posted by Antoine Levy Lambert <an...@gmx.de>.
Done, this page http://ant.apache.org/ivy/choose-distrib.html is updated.

Antoine
On May 14, 2015, at 9:50 PM, Antoine Levy Lambert <an...@gmx.de> wrote:

> Thanks Nicolas,
> 
> I will use this information as soon as I have some time to work on ivy, maybe this week-end.
> 
> Regards,
> 
> Antoine
> On May 11, 2015, at 5:08 AM, Nicolas Lalevée <ni...@hibnet.org> wrote:
> 
>> Hi Antoine,
>> 
>> Sorry I forgot to respond to your mail.
>> 
>> The latest milestone folder used to be a external svn dependency. Since we’re using git now, I had to work around it. As my previous email about that, you need to checkout it manually, with the help of an Ant target.
>> 
>>> svn:external have disappeared, they are now replaced with manual git checkout. I have made an ant target to handle it properly.
>>> 
>>> For instance, the trunk version (trunk as the name used in the path of the url) correspond to the master branch. Here are the command to checkout, then to generate:
>>> ant checkout-history -Dhistory.version=master -Dtarget.history.folder=trunk
>>> ant generate-history -Dhistory.version=trunk
>>> 
>>> If the name of the tag is the same as the version in the url, then no need to specify an ‘history folder’:
>>> ant checkout-history -Dhistory.version=2.4.0
>>> ant generate-history -Dhistory.version=2.4.0
>> 
>> 
>> So you’ll have to run:
>> ant checkout-history -Dhistory.version=2.4.0 -Dtarget.history.folder=latest-milestone
>> 
>> Nicolas
>> 
>>> Le 16 avr. 2015 à 04:34, Antoine Levy Lambert <an...@gmx.de> a écrit :
>>> 
>>> Hi,
>>> 
>>> Reposting previous message with a different subject.
>>> 
>>> I did a change to https://svn.apache.org/repos/asf/ant/site/ivy/sources/choose-distrib.html in order to document better the fact that the ivy distribution without dependencies is not suitable for large uploads.
>>> 
>>> But I am stuck with the site generation.
>>> 
>>> When I run “ant generate-site” I see this :
>>> 
>>> bash-3.2$ ant generate-site /all
>>> Buildfile: /Users/antoine/dev/asf/ant-site/ivy/build.xml
>>> 
>>> generate-site:
>>> [xooki:generate] processing 22 source files...
>>> processing 19 source files...
>>> [generate] processing /Users/antoine/dev/asf/ant-site/ivy/sources/choose-distrib.html...
>>> [generate] generating to /Users/antoine/dev/asf/ant-site/ivy/production//choose-distrib.html
>>>  [print] processing /Users/antoine/dev/asf/ant-site/ivy/sources/history/latest-milestone/index.html...
>>>  [print] index.html is not a valid xooki source. ignored.
>>> 
>>> /all:
>>> 
>>> Where do I find ant-site/ivy/sources/history/latest-milestone/index.html for this code generation ?
>>> 
>>> Is it possible that this index.html exists in the working copy of one of us but has not been added to subversion ?
>>> 
>>> Or do I misunderstand the build process for the doc ?
>>> 
>>> I am still thinking that we build the doc of ivy from a working copy pulled from subversion. 
>>> 
>>> Correct me if I am wrong.
>>> 
>>> I am looking at this file ttps://svn.apache.org/repos/asf/ant/site/README.txt for guidance.
>>> 
>>> Regards,
>>> 
>>> Antoine


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Re: stuck with site generation issue for ivy

Posted by Antoine Levy Lambert <an...@gmx.de>.
Thanks Nicolas,

I will use this information as soon as I have some time to work on ivy, maybe this week-end.

Regards,

Antoine
On May 11, 2015, at 5:08 AM, Nicolas Lalevée <ni...@hibnet.org> wrote:

> Hi Antoine,
> 
> Sorry I forgot to respond to your mail.
> 
> The latest milestone folder used to be a external svn dependency. Since we’re using git now, I had to work around it. As my previous email about that, you need to checkout it manually, with the help of an Ant target.
> 
>> svn:external have disappeared, they are now replaced with manual git checkout. I have made an ant target to handle it properly.
>> 
>> For instance, the trunk version (trunk as the name used in the path of the url) correspond to the master branch. Here are the command to checkout, then to generate:
>> ant checkout-history -Dhistory.version=master -Dtarget.history.folder=trunk
>> ant generate-history -Dhistory.version=trunk
>> 
>> If the name of the tag is the same as the version in the url, then no need to specify an ‘history folder’:
>> ant checkout-history -Dhistory.version=2.4.0
>> ant generate-history -Dhistory.version=2.4.0
> 
> 
> So you’ll have to run:
> ant checkout-history -Dhistory.version=2.4.0 -Dtarget.history.folder=latest-milestone
> 
> Nicolas
> 
>> Le 16 avr. 2015 à 04:34, Antoine Levy Lambert <an...@gmx.de> a écrit :
>> 
>> Hi,
>> 
>> Reposting previous message with a different subject.
>> 
>> I did a change to https://svn.apache.org/repos/asf/ant/site/ivy/sources/choose-distrib.html in order to document better the fact that the ivy distribution without dependencies is not suitable for large uploads.
>> 
>> But I am stuck with the site generation.
>> 
>> When I run “ant generate-site” I see this :
>> 
>> bash-3.2$ ant generate-site /all
>> Buildfile: /Users/antoine/dev/asf/ant-site/ivy/build.xml
>> 
>> generate-site:
>> [xooki:generate] processing 22 source files...
>> processing 19 source files...
>> [generate] processing /Users/antoine/dev/asf/ant-site/ivy/sources/choose-distrib.html...
>> [generate] generating to /Users/antoine/dev/asf/ant-site/ivy/production//choose-distrib.html
>>   [print] processing /Users/antoine/dev/asf/ant-site/ivy/sources/history/latest-milestone/index.html...
>>   [print] index.html is not a valid xooki source. ignored.
>> 
>> /all:
>> 
>> Where do I find ant-site/ivy/sources/history/latest-milestone/index.html for this code generation ?
>> 
>> Is it possible that this index.html exists in the working copy of one of us but has not been added to subversion ?
>> 
>> Or do I misunderstand the build process for the doc ?
>> 
>> I am still thinking that we build the doc of ivy from a working copy pulled from subversion. 
>> 
>> Correct me if I am wrong.
>> 
>> I am looking at this file ttps://svn.apache.org/repos/asf/ant/site/README.txt for guidance.
>> 
>> Regards,
>> 
>> Antoine
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
>> For additional commands, e-mail: dev-help@ant.apache.org
>> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
> For additional commands, e-mail: dev-help@ant.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org