You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@buildr.apache.org by Mathias <ma...@parboiled.org> on 2011/01/26 10:27:21 UTC
Issue BUILDR-520
Just a short heads-up:
Issue 520 (https://issues.apache.org/jira/browse/BUILDR-520) is marked as "resolved" in JIRA, however, with the current trunk snapshot it's not possible to have Buildr generate scaladoc against Scala 2.8.1.
The trace shows that the "doc-title" option is correctly set, however the old "-windowtitle" option is also present, which causes scaladoc to exit with an error instead of actually building the documentation.
Could you reopen issue 520?
Cheers,
Mathias
---
mathias@parboiled.org
http://www.parboiled.org
Re: Issue BUILDR-520
Posted by Mathias <ma...@parboiled.org>.
Alex,
excellent.
I also think, "-scaladoc" is the best default qualifier.
Will try the latest snapshot ASAP.
Thanks and cheers,
Mathias
---
mathias@parboiled.org
http://www.parboiled.org
On 28.01.2011, at 06:49, Alex Boisvert wrote:
> Alright, package(:scaladoc) now generates an artifact with -scaladoc
> qualifier.
>
> (And also fixed a bug where the scaladoc task would cause the build to exit
> prematurely -- Scaladoc.main(args) explicitly calls the JVM's System.exit()
> method, needless to say we're not calling main() anymore.)
>
> alex
>
> On Thu, Jan 27, 2011 at 10:12 AM, Alex Boisvert <al...@gmail.com>wrote:
>
>> Yeah, I briefly thought about that yesterday but the one thing that stopped
>> me was that deciding on a qualifier for the package (e.g., Java uses
>> -javadoc). Looks like SBT is using -docs for scaladoc packaging. I'm
>> seeing both -javadoc, -scaladoc used for Scala projects deployed on
>> scala-tools.org. Probably should make it configurable at this point,
>> though we still have to pick a good default (I'm leaning towards -scaladoc).
>>
>> I created https://issues.apache.org/jira/browse/BUILDR-564 to track this.
>>
>> <https://issues.apache.org/jira/browse/BUILDR-564>alex
>>
>>
>> On Thu, Jan 27, 2011 at 12:45 AM, Mathias <ma...@parboiled.org> wrote:
>>
>>> Hi Alex,
>>>
>>> cool. Thanks for the quick fix.
>>> Btw. wouldn't it be nicer if I could write "package :scaladoc" instead of
>>> "package :javadoc" for my Scala-only modules?
>>>
>>> Cheers,
>>> Mathias
>>>
>>> ---
>>> mathias@parboiled.org
>>> http://www.parboiled.org
>>>
>>> On 26.01.2011, at 21:04, Alex Boisvert wrote:
>>>
>>>> Hi Mathias,
>>>>
>>>> I just fixed this in trunk. I hadn't tested with package(:javadoc).
>>>> Thanks for reporting.
>>>>
>>>> alex
>>>>
>>>>
>>>> On Wed, Jan 26, 2011 at 1:27 AM, Mathias <ma...@parboiled.org> wrote:
>>>>
>>>>> Just a short heads-up:
>>>>>
>>>>> Issue 520 (https://issues.apache.org/jira/browse/BUILDR-520) is marked
>>> as
>>>>> "resolved" in JIRA, however, with the current trunk snapshot it's not
>>>>> possible to have Buildr generate scaladoc against Scala 2.8.1.
>>>>> The trace shows that the "doc-title" option is correctly set, however
>>> the
>>>>> old "-windowtitle" option is also present, which causes scaladoc to
>>> exit
>>>>> with an error instead of actually building the documentation.
>>>>>
>>>>> Could you reopen issue 520?
>>>>>
>>>>> Cheers,
>>>>> Mathias
>>>>> ---
>>>>> mathias@parboiled.org
>>>>> http://www.parboiled.org
>>>>>
>>>>>
>>>
>>>
>>
Re: Issue BUILDR-520
Posted by Alex Boisvert <al...@gmail.com>.
Alright, package(:scaladoc) now generates an artifact with -scaladoc
qualifier.
(And also fixed a bug where the scaladoc task would cause the build to exit
prematurely -- Scaladoc.main(args) explicitly calls the JVM's System.exit()
method, needless to say we're not calling main() anymore.)
alex
On Thu, Jan 27, 2011 at 10:12 AM, Alex Boisvert <al...@gmail.com>wrote:
> Yeah, I briefly thought about that yesterday but the one thing that stopped
> me was that deciding on a qualifier for the package (e.g., Java uses
> -javadoc). Looks like SBT is using -docs for scaladoc packaging. I'm
> seeing both -javadoc, -scaladoc used for Scala projects deployed on
> scala-tools.org. Probably should make it configurable at this point,
> though we still have to pick a good default (I'm leaning towards -scaladoc).
>
> I created https://issues.apache.org/jira/browse/BUILDR-564 to track this.
>
> <https://issues.apache.org/jira/browse/BUILDR-564>alex
>
>
> On Thu, Jan 27, 2011 at 12:45 AM, Mathias <ma...@parboiled.org> wrote:
>
>> Hi Alex,
>>
>> cool. Thanks for the quick fix.
>> Btw. wouldn't it be nicer if I could write "package :scaladoc" instead of
>> "package :javadoc" for my Scala-only modules?
>>
>> Cheers,
>> Mathias
>>
>> ---
>> mathias@parboiled.org
>> http://www.parboiled.org
>>
>> On 26.01.2011, at 21:04, Alex Boisvert wrote:
>>
>> > Hi Mathias,
>> >
>> > I just fixed this in trunk. I hadn't tested with package(:javadoc).
>> > Thanks for reporting.
>> >
>> > alex
>> >
>> >
>> > On Wed, Jan 26, 2011 at 1:27 AM, Mathias <ma...@parboiled.org> wrote:
>> >
>> >> Just a short heads-up:
>> >>
>> >> Issue 520 (https://issues.apache.org/jira/browse/BUILDR-520) is marked
>> as
>> >> "resolved" in JIRA, however, with the current trunk snapshot it's not
>> >> possible to have Buildr generate scaladoc against Scala 2.8.1.
>> >> The trace shows that the "doc-title" option is correctly set, however
>> the
>> >> old "-windowtitle" option is also present, which causes scaladoc to
>> exit
>> >> with an error instead of actually building the documentation.
>> >>
>> >> Could you reopen issue 520?
>> >>
>> >> Cheers,
>> >> Mathias
>> >> ---
>> >> mathias@parboiled.org
>> >> http://www.parboiled.org
>> >>
>> >>
>>
>>
>
Re: Issue BUILDR-520
Posted by Alex Boisvert <al...@gmail.com>.
Yeah, I briefly thought about that yesterday but the one thing that stopped
me was that deciding on a qualifier for the package (e.g., Java uses
-javadoc). Looks like SBT is using -docs for scaladoc packaging. I'm
seeing both -javadoc, -scaladoc used for Scala projects deployed on
scala-tools.org. Probably should make it configurable at this point,
though we still have to pick a good default (I'm leaning towards -scaladoc).
I created https://issues.apache.org/jira/browse/BUILDR-564 to track this.
<https://issues.apache.org/jira/browse/BUILDR-564>alex
On Thu, Jan 27, 2011 at 12:45 AM, Mathias <ma...@parboiled.org> wrote:
> Hi Alex,
>
> cool. Thanks for the quick fix.
> Btw. wouldn't it be nicer if I could write "package :scaladoc" instead of
> "package :javadoc" for my Scala-only modules?
>
> Cheers,
> Mathias
>
> ---
> mathias@parboiled.org
> http://www.parboiled.org
>
> On 26.01.2011, at 21:04, Alex Boisvert wrote:
>
> > Hi Mathias,
> >
> > I just fixed this in trunk. I hadn't tested with package(:javadoc).
> > Thanks for reporting.
> >
> > alex
> >
> >
> > On Wed, Jan 26, 2011 at 1:27 AM, Mathias <ma...@parboiled.org> wrote:
> >
> >> Just a short heads-up:
> >>
> >> Issue 520 (https://issues.apache.org/jira/browse/BUILDR-520) is marked
> as
> >> "resolved" in JIRA, however, with the current trunk snapshot it's not
> >> possible to have Buildr generate scaladoc against Scala 2.8.1.
> >> The trace shows that the "doc-title" option is correctly set, however
> the
> >> old "-windowtitle" option is also present, which causes scaladoc to exit
> >> with an error instead of actually building the documentation.
> >>
> >> Could you reopen issue 520?
> >>
> >> Cheers,
> >> Mathias
> >> ---
> >> mathias@parboiled.org
> >> http://www.parboiled.org
> >>
> >>
>
>
Re: Issue BUILDR-520
Posted by Mathias <ma...@parboiled.org>.
Hi Alex,
cool. Thanks for the quick fix.
Btw. wouldn't it be nicer if I could write "package :scaladoc" instead of "package :javadoc" for my Scala-only modules?
Cheers,
Mathias
---
mathias@parboiled.org
http://www.parboiled.org
On 26.01.2011, at 21:04, Alex Boisvert wrote:
> Hi Mathias,
>
> I just fixed this in trunk. I hadn't tested with package(:javadoc).
> Thanks for reporting.
>
> alex
>
>
> On Wed, Jan 26, 2011 at 1:27 AM, Mathias <ma...@parboiled.org> wrote:
>
>> Just a short heads-up:
>>
>> Issue 520 (https://issues.apache.org/jira/browse/BUILDR-520) is marked as
>> "resolved" in JIRA, however, with the current trunk snapshot it's not
>> possible to have Buildr generate scaladoc against Scala 2.8.1.
>> The trace shows that the "doc-title" option is correctly set, however the
>> old "-windowtitle" option is also present, which causes scaladoc to exit
>> with an error instead of actually building the documentation.
>>
>> Could you reopen issue 520?
>>
>> Cheers,
>> Mathias
>> ---
>> mathias@parboiled.org
>> http://www.parboiled.org
>>
>>
Re: Issue BUILDR-520
Posted by Alex Boisvert <al...@gmail.com>.
Hi Mathias,
I just fixed this in trunk. I hadn't tested with package(:javadoc).
Thanks for reporting.
alex
On Wed, Jan 26, 2011 at 1:27 AM, Mathias <ma...@parboiled.org> wrote:
> Just a short heads-up:
>
> Issue 520 (https://issues.apache.org/jira/browse/BUILDR-520) is marked as
> "resolved" in JIRA, however, with the current trunk snapshot it's not
> possible to have Buildr generate scaladoc against Scala 2.8.1.
> The trace shows that the "doc-title" option is correctly set, however the
> old "-windowtitle" option is also present, which causes scaladoc to exit
> with an error instead of actually building the documentation.
>
> Could you reopen issue 520?
>
> Cheers,
> Mathias
> ---
> mathias@parboiled.org
> http://www.parboiled.org
>
>