Re: Small issue when building Wonder7 javadoc -> ${wonder-version.version} not properly used
Re: Small issue when building Wonder7 javadoc -> ${wonder-version.version} not properly used
- Subject: Re: Small issue when building Wonder7 javadoc -> ${wonder-version.version} not properly used
- From: Johann Werner <email@hidden>
- Date: Tue, 28 Nov 2017 15:36:55 +0100
Hi Markus,
how do you build the docs? Looking at the ant files this is how it is supposed
to be done:
$ cd […]/Wonder
$ ant docs
The target „docs“ is defined within the build.xml in the root directory of
Wonder. From there it points to the file Build/build/build-doc.xml and its
target „api“.
The important bits of that build-doc.xml are the two lines (13 and 14):
<artifact:pom id="wonder-version" file="pom.xml" />
<property name="project.version" value="${wonder-version.version}" />
The file pom.xml in the root directory of Wonder is read (actually a maven
build file) and its value for version is copied into the ant variable
„project.version“. In pom.xml you can find something like:
<version>7.1-SNAPSHOT</version>
So the value should be populated automatically. Just tested it manually on my
local machine and the correct version string showed up. Could it be that you
are running the ant command from a different directory than Wonder’s root? That
could result in ant not finding the referenced pom.xml file.
jw
> Am 28.11.2017 um 10:54 schrieb Markus Ruggiero <email@hidden>:
>
> Nobody? I clearly must miss something here and could use a bit of handhelding.
>
>
>> On 24 Nov 2017, at 12:56, Markus Ruggiero <email@hidden> wrote:
>>
>> Building Wonder 7 with ant from terminal works perfectly. However building
>> the docs seems not to properly translate ${wonder-version.version} into a
>> nice version string but puts it literally into the html files.
>>
>> Must be a small thing, but it's a bit annoying. Any idea where to look so I
>> can fix this? The build process looks a bit convoluted (at least to me) and
>> I am not (yet?) the real ant and maven guru.
>>
>> Thanks
>> ---markus---
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list (email@hidden)
>> Help/Unsubscribe/Update your Subscription:
>>
>> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden