Open yanne opened 10 years ago
Original comment by mrmall...@gmail.com
on Mar 31, 2011.
this is very tricky as each jvm distro have different location of tools.jar. i'll give it a look.
can you check on this though:
http://maven.apache.org/general.html#tools-jar-dependency
instead add it as a dependency to the maven plugin
Original comment by dietrich...@googlemail.com
on Apr 2, 2011.
That helped to solve the tools.jar issue, I added the following to the pom-libdoc.xml to see if it works, and the test is no longer complaining about a missing tools.jar. I am using an absolute path because ${java.home} did not work. However, there is a different issue now: libdoc.py requires a class from Java 6 and cannot find it since I am running with Java 5. Well that's just the way it is, probably we can't do anything about it. I'll try to come up with a test that does not document a java testlib.
Original comment by dietrich...@googlemail.com
on Apr 2, 2011.
I have a test now that runs fine with an html resource file. I would propose to replace the java lib test by this one. What do you think?
Original comment by mrmall...@gmail.com
on Apr 3, 2011.
just gave you commit rights. go check it in and let's review it together.
i'll try to add something more "universal" regarding the tools.jar issue. as i am on a mac, this is why i don't have that problem.
Original comment by mrmall...@gmail.com
on Apr 4, 2011.
i've already checked in changes to accommodate both sun and apple jdk's. please see if this works for you
Original comment by dietrich...@googlemail.com
on Apr 8, 2011.
This appears to be solved, the issue has disappeared.
None
This issue was originally opened at Google Code on Mar 25, 2011.