Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Graphviz and PlantUML on Windows #170

Closed
ghost opened this issue Jul 13, 2016 · 8 comments
Closed

Graphviz and PlantUML on Windows #170

ghost opened this issue Jul 13, 2016 · 8 comments

Comments

@ghost
Copy link

ghost commented Jul 13, 2016

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 anb0s added this to the 0.11.0 milestone Jul 13, 2016
@anb0s
Copy link
Owner

anb0s commented Jul 13, 2016

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
Copy link
Owner

anb0s commented Oct 26, 2016

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 anb0s self-assigned this Oct 26, 2016
@anb0s
Copy link
Owner

anb0s commented Oct 28, 2016

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 anb0s closed this as completed Oct 28, 2016
@anb0s
Copy link
Owner

anb0s commented Oct 28, 2016

fixed already with #163

anb0s added a commit that referenced this issue Nov 6, 2016
new fixed issues in this build:
- [x] #167 Scrollbar missing for Input Directories in Graphical Editor

fixed issues with previous build(s):
- [x] [v0.11.0] testing of build 0.11.0.v20161101-1923
  - [x] #11 muliple Doxyfiles - editing
  - [x] #12 Import of existing configuration files
  - [x] #15 Add ability to use Doxyfile not in project scope
  - [x] #68 open a file that is not a resource in eclipse
  - [x] #75 relative or project-based path to doxygen.exe
  - [x] #86 environment variables needed for some doxyfiles
  - [x] #87 working directory not configurable
  - [x] #114 Improvement static declaration of plugin relative
identifier
  - [x] #144 Tell more about the directory where eclox is stared
  - [x] #161 migrate to GitHub
  - [x] #163 Unable to use GraphViz
  - [x] #164 Unable to create the selected preference page.
eclox/core/ui/PreferencePage : Unsupported major.minor version 52.0
  - [x] #165 new GitHub update site shows only one version "Eclox
0.10.2.201508272130"
  - [x] #170 Graphviz and PlantUML on Windows

Signed-off-by: Andre Bossert <anb0s@anbos.de>
anb0s added a commit that referenced this issue Nov 6, 2016
new fixed issues in this build:
- [x] #167 Scrollbar missing for Input Directories in Graphical Editor

fixed issues with previous build(s):
- [x] [v0.11.0] testing of build 0.11.0.v20161101-1923
  - [x] #11 muliple Doxyfiles - editing
  - [x] #12 Import of existing configuration files
  - [x] #15 Add ability to use Doxyfile not in project scope
  - [x] #68 open a file that is not a resource in eclipse
  - [x] #75 relative or project-based path to doxygen.exe
  - [x] #86 environment variables needed for some doxyfiles
  - [x] #87 working directory not configurable
  - [x] #114 Improvement static declaration of plugin relative
identifier
  - [x] #144 Tell more about the directory where eclox is stared
  - [x] #161 migrate to GitHub
  - [x] #163 Unable to use GraphViz
  - [x] #164 Unable to create the selected preference page.
eclox/core/ui/PreferencePage : Unsupported major.minor version 52.0
  - [x] #165 new GitHub update site shows only one version "Eclox
0.10.2.201508272130"
  - [x] #170 Graphviz and PlantUML on Windows

Signed-off-by: Andre Bossert <anb0s@anbos.de>
anb0s added a commit that referenced this issue Feb 26, 2017
Main changes:
- migrate to GitHub #161
- support configurable working directory #87
- support relative or project-based path to doxygen.exe #75
- open a file that is not a resource in eclipse #15, #68
- support resources in linked folders #176 **Thanks to Corderbollie**
- scrollbar for input directories in graphical editor #167 
- sorting column in advanced tab #171 
- add update site with bundled Doxygen executables #182
- updated project structure and build process
- added composite site to support testing and release update streams

All fixed issues:
- #11 muliple Doxyfiles - editing
- #12 Import of existing configuration files
- #15 Add ability to use Doxyfile not in project scope
- #68 open a file that is not a resource in eclipse
- #75 relative or project-based path to doxygen.exe
- #86 environment variables needed for some doxyfiles
- #87 working directory not configurable
- #114 Improvement static declaration of plugin relative identifier
- #144 Tell more about the directory where eclox is stared
- #161 migrate to GitHub
- #162 prepare release 0.11.0
- #163 Unable to use GraphViz
- #164 Unable to create the selected preference page.
eclox/core/ui/PreferencePage : Unsupported major.minor version 52.0
- #165 new GitHub update site shows only one version "Eclox
0.10.2.201508272130"
- #167 Scrollbar missing for Input Directories in Graphical Editor
- #170 Graphviz and PlantUML on Windows
- #171 Sorting column in Advanced tab
- #173 [v0.11] invalid custom doxygen identifier found
- #174 [v0.11] endRule without matching beginRule
- #175 java.lang.IllegalArgumentException: endRule without matching
beginRule
- #178 No groups on advanced tab
- #176 Support resources in linked folders
- #182 [v0.11] add update site with bundled Doxygen executables

Known issues:
- #166 freeze of build with Grep Console installed --> **related to
other plugin, please apply the described workaround**

Signed-off-by: Andre Bossert <anb0s@anbos.de>
anb0s added a commit that referenced this issue Feb 26, 2017
Main changes:
- migrate to GitHub #161
- support configurable working directory #87
- support relative or project-based path to doxygen.exe #75
- open a file that is not a resource in eclipse #15, #68
- support resources in linked folders #176 **Thanks to Corderbollie**
- scrollbar for input directories in graphical editor #167 
- sorting column in advanced tab #171 
- add update site with bundled Doxygen executables #182
- updated project structure and build process
- added composite site to support testing and release update streams

All fixed issues:
- #11 muliple Doxyfiles - editing
- #12 Import of existing configuration files
- #15 Add ability to use Doxyfile not in project scope
- #68 open a file that is not a resource in eclipse
- #75 relative or project-based path to doxygen.exe
- #86 environment variables needed for some doxyfiles
- #87 working directory not configurable
- #114 Improvement static declaration of plugin relative identifier
- #144 Tell more about the directory where eclox is stared
- #161 migrate to GitHub
- #162 prepare release 0.11.0
- #163 Unable to use GraphViz
- #164 Unable to create the selected preference page.
eclox/core/ui/PreferencePage : Unsupported major.minor version 52.0
- #165 new GitHub update site shows only one version "Eclox
0.10.2.201508272130"
- #167 Scrollbar missing for Input Directories in Graphical Editor
- #170 Graphviz and PlantUML on Windows
- #171 Sorting column in Advanced tab
- #173 [v0.11] invalid custom doxygen identifier found
- #174 [v0.11] endRule without matching beginRule
- #175 java.lang.IllegalArgumentException: endRule without matching
beginRule
- #178 No groups on advanced tab
- #176 Support resources in linked folders
- #182 [v0.11] add update site with bundled Doxygen executables

Known issues:
- #166 freeze of build with Grep Console installed --> **related to
other plugin, please apply the described workaround**

Signed-off-by: Andre Bossert <anb0s@anbos.de>
@souzamg
Copy link

souzamg commented Aug 30, 2017

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
Copy link
Owner

anb0s commented Aug 31, 2017

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
Copy link
Owner

anb0s commented Sep 6, 2017

@souzamg do it solves the issue for you?

@souzamg
Copy link

souzamg commented Sep 14, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants