[jbosstools-dev] need help on generating doc

Anthony Patricio apatrici at redhat.com
Fri Oct 24 03:29:03 EDT 2008


Max Rydahl Andersen a écrit :
> hi,
>
>> Max,
>>
>> If Anthony checked out only "hibernatetools" folder he will 
>> apparently not
>> be able to build the docs since the style sheets are located in the
>> documentation folder.
>
> hmmm...I thought we moved all styles to use the official jboss doc 
> styles ?
>
> Anyway that would explain it.
>
>> So, he has try to check out the documentation folder (and place in 
>> next to
>> the hibernatetools folder ) and afterwards build the docs and if it 
>> doesn't
>> help check out the trunk.
>
> Anthony, could you try that ?
>
> If that does not work I found my old .m2/settings.xml but it is on a 
> machine which
> network is foobar....
That worked, thanks all




>
> /max
>
>>
>> Best regards, Michael
>>
>>
>> -----Original Message-----
>> From: Max Rydahl Andersen [mailto:max.andersen at redhat.com]
>> Sent: Wednesday, October 22, 2008 6:07 PM
>> To: msorokin at exadel.com
>> Cc: smukhina at exadel.com; jbosstools-dev at lists.jboss.org
>> Subject: Re: [jbosstools-dev] need help on generating doc
>>
>>> As far as I know you don't need to adjust anything in 
>>> /.m2/settings.xml.
>>> All plugins are downloaded to .m2 automatically  if they are required.
>>
>> Okey - I just thought the stylesheets were only available from jboss 
>> maven
>> repository and not
>> the main maven repository.
>>
>>> Do you think, it will be a solution to send Anthony ready-built cods
>>> (html
>>> and pdf)? The file with the cods is attached.
>>
>> Well, he needs to add things to the docs so he need to be able to 
>> build it.
>>
>> /max
>>>
>>> Best regards, Michael
>>>
>>>
>>>> I remember there beeing a need to adjust something in 
>>>> ~/.m2/settings.xml
>>>> or something ?
>>>>
>>>> /max
>>>>
>>>>
>>>>> Hello Max,
>>>>>
>>>>> It's pretty basic:
>>>>>
>>>>> 1. You need to have maven installed.
>>>>> 2. You need to run "mvn clean install" command  in the doc(or in the
>>>>> folder
>>>>> with pom.xml) folder of your trunk.
>>>>>
>>>>> I have just check, the hibernate docs are built successfully.
>>>>> Hence, Anthony has to make sure that he ran the "mvn clean install"
>>>>> from
>>>>>
>>>>> "trunk\hibernatetools\docs\reference\" folder, since main pom.xml 
>>>>> file
>>>>> is in
>>>>> that folder.
>>>>>
>>>>> The error message he sent is not really informative, though it's 
>>>>> clear
>>>>> that
>>>>> Maven misses some plugin.
>>>>> Please ask him to send more info.
>>>>>
>>>>> Best regards, Michael
>>>>>
>>>>> -----Original Message-----
>>>>> From: Max Rydahl Andersen [mailto:max.andersen at redhat.com]
>>>>> Sent: Wednesday, October 22, 2008 3:34 PM
>>>>> To: Anthony Patricio; jbosstools-dev at lists.jboss.org
>>>>> Cc: Svetlana Mukhina; 'michael sorokin'
>>>>> Subject: Re: [jbosstools-dev] need help on generating doc
>>>>>
>>>>> Svetlana/Michael,
>>>>>
>>>>> Do you have the instructions for doing the docbook builds around ?
>>>>>
>>>>> /max
>>>>>
>>>>>> Hi,
>>>>>> I'm trying to generate the hbtools doc but I have following error:
>>>>>> org.jboss.maven.shared.resource.ResourceException: could not locate
>>>>>> specified re
>>>>>> source directory
>>>>>>       at
>>>>>> org.jboss.maven.shared.resource.ResourceDelegate.collectFileNames(Res 
>>>>>>
>>>>>> ourceDelegate.java:156)
>>>>>>       at
>>>>>> org.jboss.maven.shared.resource.ResourceDelegate.process(ResourceDele 
>>>>>>
>>>>>> gate.java:108)
>>>>>>       at
>>>>>> org.jboss.maven.plugins.jdocbook.ResourceMojo.processProjectResources 
>>>>>>
>>>>>> (ResourceMojo.java:69)
>>>>>>       at
>>>>>> org.jboss.maven.plugins.jdocbook.ResourceMojo.process(ResourceMojo.ja 
>>>>>>
>>>>>>
>>>>>> Can someone help me?
>>>>>>
>>>>>> thanks,
>>>>>> Anthony
>>>>>> _______________________________________________
>>>>>> jbosstools-dev mailing list
>>>>>> jbosstools-dev at lists.jboss.org
>>>>>> https://lists.jboss.org/mailman/listinfo/jbosstools-dev
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>> -- 
>>>> /max
>>>>
>>
>>
>>
>
>
>




More information about the jbosstools-dev mailing list