anb0s / eclox

Eclox is a simple doxygen frontend plug-in for eclipse. It aims to provide a slim and sleek integration of the code documentation process into Eclipse.
http://anb0s.github.io/eclox
Eclipse Public License 2.0
35 stars 2 forks source link

Graphviz and PlantUML on Windows #170

Closed ghost closed 8 years ago

ghost commented 8 years ago

It seems the Windows environment variables are ignored by Eclox.

1) "Have DOT" tag: if set to "No", no graph is generated, even when DOT is available on PATH variable and running on command line. Workaround: set "DOT path" tag

2) Planta UML cannot be started because JAVA is not found, even when JAVA is available on command line and set in PATH variable (Eclipse error message: Problems running PlantUML. Verify that the command 'java -jar "C:\PlantUML\plantuml.jar" -h' works from the command line. Exit code: -1) Workaround: None, PlantUML cannot be used (in command line windows it is working)

anb0s commented 8 years ago

Thank You for the report! I'm also using PlantUML and saw this error, but had no time to look at it. I will try to address it for next test build...

anb0s commented 8 years ago

I'm preparing new release now and will verify it, by the way did you tried a testing build from: http://anb0s.github.io/eclox/testing already ?

anb0s commented 8 years ago

I've verified the testing build and it works! So it will be included in 0.11.0 soon. Please give a feedback if it works for you too. Thanks!

anb0s commented 8 years ago

fixed already with #163

souzamg commented 7 years ago

Hello.. I've being using doxygen fro some time.. In completely parallel I've playing with PlantUML.. We develop on Whirlpool, using Eclipse IDE with all plugins we need installed on it..

I'was searching for the clean way to have the PlatUML generate on doxygen... I'm having hard time setting it up..

Searching in the Doxygen itself I found a place under Expert -> DOT -> PlatUML.jar path set., But I can't find that option on the Eclipse Plugin.. As I understood if I set that and "Have DOT is set" it should work..

Any suggestion? Regards

anb0s commented 7 years ago

Hello, first you need the settings described here: https://www.stack.nl/~dimitri/doxygen/manual/commands.html#cmdstartuml

If you do not have the PLANTUML_JAR_PATH in your doxyfile then your doxyfile was created with older doxygen version that had no PlantUML support. You can just execute "doxygen -u Doxyfile" for updating your file with new doxygen version (e.g. minimum 1.8.8), you should see similar output (last line is important)

> doxygen -u
warning: Tag `USE_WINDOWS_ENCODING' at line 11 of file `Doxyfile' has become obsolete.
         This tag has been removed.
warning: Tag `DETAILS_AT_TOP' at line 23 of file `Doxyfile' has become obsolete.
         This tag has been removed.
warning: Tag `SHOW_DIRECTORIES' at line 58 of file `Doxyfile' has become obsolete.
         This tag has been removed.
warning: Tag `HTML_ALIGN_MEMBERS' at line 108 of file `Doxyfile' has become obsolete.
         This tag has been removed.
warning: Tag `XML_SCHEMA' at line 155 of file `Doxyfile' has become obsolete.
         This tag has been removed.
warning: Tag `XML_DTD' at line 156 of file `Doxyfile' has become obsolete.
         This tag has been removed.
warning: Tag `MAX_DOT_GRAPH_WIDTH' at line 206 of file `Doxyfile' has become obsolete.
         This tag has been removed.
warning: Tag `MAX_DOT_GRAPH_HEIGHT' at line 207 of file `Doxyfile' has become obsolete.
         This tag has been removed.

Configuration file `Doxyfile' updated.

Then open the file with eclox and you should see the option under Advanced now, just set the path for your plantuml.jar location: image

Now start the doxygen build with eclox and you should see in the build log:

Generating docs for compound Receiver...
Running PlantUML on generated file C.../test/Doc/html/inline_umlgraph_1.pu
Running PlantUML on generated file C.../test/Doc/latex/inline_umlgraph_2.pu
Generating docs for compound Sender...
Running PlantUML on generated file C.../test/Doc/html/inline_umlgraph_3.pu
Running PlantUML on generated file C.../test/Doc/latex/inline_umlgraph_4.pu

For the Sender and Reciever class from Doxygen example it should look like: image

Please open new issue if you have more questions or eclox should be extended...

Regards, Andre

P.S.: for the upgrade feature i've already #18 and #145 opened...

anb0s commented 7 years ago

@souzamg do it solves the issue for you?

souzamg commented 7 years ago

Thanks you very much.. It did work ..

Manoel G Souza SENIOR MANAGER - ELECTRONICS AND ELECTRICAL SYSTEMS T: 269-923-3617 | C: 269-252-6433 | Whirlpool Corporation | www.WhirlpoolCorp.com http://www.whirlpoolcorp.com Please consider the environment before printing this e-mail

On Wed, Sep 6, 2017 at 8:56 AM, Andre Bossert notifications@github.com wrote:

@souzamg https://github.com/souzamg do it solves the issue for you?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/anb0s/eclox/issues/170#issuecomment-327474732, or mute the thread https://github.com/notifications/unsubscribe-auth/AeBxcN7aC071tQz3ISIejLFDshZrJoKnks5sfpabgaJpZM4JLWk8 .

-- NOTICE: Whirlpool Corporation e-mail is for the designated recipient only and may contain proprietary or otherwise confidential information. If you have received this e-mail in error, please notify the sender immediately and delete the original. Any other use or disclosure of the e-mail by you is unauthorized.