On 12/13/06, Wendy Smoak <[EMAIL PROTECTED]> wrote:

If the Graphviz executables are on your $PATH, it should "just work".

I have Graphviz on my $PATH. Verified with following Snippet:

<build>
<plugins>
 <plugin>
  <artifactId>maven-antrun-plugin</artifactId>
  <executions>
   <execution>
    <id>checkpath</id>
    <phase>clean</phase>
    <configuration>
     <tasks>
      <property environment="env"/>
      <echo>${env.Path}</echo>
     </tasks>
    </configuration>
    <goals>
     <goal>run</goal>
    </goals>
   </execution>
  </executions>
 </plugin>
</plugins>
</build>

This returns following output:

[INFO] Executing tasks
    [echo] C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Programme\
ATT\Graphviz\bin;X:\Programme\Java\jdk1.5.0_09\bin;X:\Programme\apache-ant-1.6.5
\bin;X:\Programme\maven-2.0.4\bin;X:\Programme\jboss-4.0.5.GA\bin;x:\Programme\A
ctivePerl5.8.8\bin

I also can execute dot etc. from command line. dot -V gives following output:

dot - Graphviz version 2.12 (Mon Dec  4 22:04:37 UTC 2006)

What I also think is strage that I don't get any error messages while
running mvn.

You can see a working example in the Tiles 2 pom:
   http://svn.apache.org/repos/asf/struts/sandbox/trunk/tiles/pom.xml

I synced my reports section with the one above. If I execute "mvn
clean site" I get following error:

[INFO] Skipped "JavaDocs" report, file "apidocs/index.html" already exists for t
he English version.

I think this is caused through the 2 javadoc reports included. The 1st
one seems to work correctly.

If anybody can tell me how to translate .dot files to png I would try
to develop a ant task to cope with the translation.

Find attached the output while generating Javadocs:

[INFO] Generate "JavaDocs" report.
Loading source file X:/workspace/phi base system/src/main/java/com/phimobile/bas
e/deviceagent/DeviceAgentBean.java...
Loading source file X:/workspace/phi base system/src/main/java/com/phimobile/bas
e/deviceagent/DeviceAgentRemote.java...
Loading source file X:/workspace/phi base system/src/main/java/com/phimobile/bas
e/domain/Device.java...
Constructing Javadoc information...
UmlDoc version 4.4, running the standard doclet
Standard Doclet version 1.5.0_09
Building tree for all the packages and classes...
Generating com/phimobile/base/domain/\Device.html...
Generating com/phimobile/base/deviceagent/\DeviceAgentBean.html...
Generating com/phimobile/base/deviceagent/\DeviceAgentRemote.html...
Generating overview-frame.html...
Generating com/phimobile/base/deviceagent/\package-frame.html...
Generating com/phimobile/base/deviceagent/\package-summary.html...
Generating com/phimobile/base/deviceagent/\package-tree.html...
Generating com/phimobile/base/domain/\package-frame.html...
Generating com/phimobile/base/domain/\package-summary.html...
Generating com/phimobile/base/domain/\package-tree.html...
Generating constant-values.html...
Generating serialized-form.html...
Building index for all the packages and classes...
Generating overview-tree.html...
Generating index-all.html...
Generating deprecated-list.html...
Building index for all classes...
Generating allclasses-frame.html...
Generating allclasses-noframe.html...
Generating index.html...
Generating overview-summary.html...
Generating help-doc.html...
Generating stylesheet.css...
UmlDoc version 4.4, altering javadocs
Building Package view for package com.phimobile.base.deviceagent
Building Package view for package com.phimobile.base.domain
Building Context view for class com.phimobile.base.deviceagent.DeviceAgentBean
Building Context view for class com.phimobile.base.deviceagent.DeviceAgentRemote

Building Context view for class com.phimobile.base.domain.Device
45 warnings


Best regards
Tobias

Reply via email to