Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
Could anyone provide the old jdo plugin for Eclipse (must be the old, can not be the current DataNucleus). If someone does not have, but know where to find, please provide the link. Note: The site http://www.jpox.org which provided this plugin, but is now the Datanuclues, which does not have the plugin JPox.
I am trying to solve the problem below, if anyone has a solution, please answer.
Caused by: org.springframework.orm.jdo.JdoUsageException: The class "br.com.omd.ouvidoria.logica.domain.Ouvidoria" is not Persistence-Capable. This means that it either hasnt been enhanced, or that the enhanced version of the file is not in the CLASSPATH (or is hidden by an unenhanced version), or the Meta-Data for the class is not found.; nested exception is org.jpox.exceptions.ClassNotPersistenceCapableException: The class "br.com.omd.ouvidoria.logica.domain.Ouvidoria" is not Persistence-Capable. This means that it either hasnt been enhanced, or that the enhanced version of the file is not in the CLASSPATH (or is hidden by an unenhanced version), or the Meta-Data for the class is not found.
JPOX was open source, and its code still exists on SourceForge. "ide.eclipse" is the project you need.
https://sourceforge.net/p/jpox/code/HEAD/tree/tools/
But then its downloads are also still available on SourceForge.
https://sourceforge.net/projects/jpox/files/jpox-eclipse/
But then this, on its own, will not solve the problem you have there. You simply have not enhanced your classes. And the DataNucleus tools provide ways for you to enhance your classes, so no idea why you are even thinking of using something so out of date
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
All, I just wondered how can I get the source of the rt.jar for JDK 1.7. I knew there is a source package name the src.zip under the JDK home path(supposed in the windows system). But it seems some classes of rt.jar is not included in it. Like sun.misc namespace. Did I miss something? Thanks.
Update
I just want to debug the source code of ConcurrentHashMap. I already compiled source from JDK src.zip and added into the endorsed folder. But found sun.misc.Unsafe still missing.
"But often you end up in Java class libraries, where there is debug information attached in the class files (at least those shipped with the JDK) but no source is present in src.zip. Official statement is that src.zip only contains publicly documented classes (i. e. the same ones that are covered by the official Javadoc)" I found this here. Seems like a possible explanation.
And I found the same discussion on stackoverflow and someone stated "sun.* sources are a part of JDK that is proprietary closed source Sun code (or Oracle since 2010).". And here the link again.
You can get it via the Java Community Source Code Program.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I am looking for internals of hash map.Some exhaustive detailed info about buckets, Node inside it, Map.Entry etc.
I cant find any online stuff which has exhaustive details about this. I tried going thru source of HashMap inside rt.jar but its too complex to handle.
Please suggest where will i be able to find in detail internal working of hash map.
Thanks
to the best of my knowledge, rt.jar does not contain sources.
However, OpenJDK is, well, an open source JDK implementation. This thread has the info on browsing its source code
This is the direct link to the class you were asking: http://hg.openjdk.java.net/jdk8/jdk8/jdk/file/687fd7c7986d/src/share/classes/java/util/HashMap.java
The internal documentation is quite extensive.
Download JDK (not JRE) and look for a src.zip file at the root of the installation path. All source code is there.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
I have pretty standard java project with standard gradle layout, all sources are stored in git. I want to write documentation in markdown (or similar markup language) and keep all files in project directory (e.g. docs/ folder in the root). Then I want to generate static site or push my sources somewhere to have access to full documentation in html (should be self-hosted solution).
It will be good if I'm able to add simple link to other articles (like I do it in any wiki engine by using [[article]]). And It would be perfect if I've been able to add quick links to javadoc by the same technique as link to articles. And also it would be perfect if it has had built-in search engine.
I've gone through couple of static site generators but I didn't find anything which can satisfy my requirements at least half. Is there something like that? Or I need to code it by myself (I know it won't take to much time)? Maybe there's more common use case for documentation?
You have to use the concept of Doclets. There are some out there. Maybe just try this one:
https://github.com/Abnaxos/pegdown-doclet
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
I want to create an RPM package for a java application. I have never done rpm packages and i still do not quite understand how to do it manually. Is there a software that can do this (or at least most of it) automatically ?. Currently if user wants to use application he/she has to download a tar.gz file, un-tar it and then run .sh file that takes care of the installation.
My dev workmachine is Windows ( don't bully me for that ! ) if that helps at all.
I have found THIS Software but i am not sure if its applicable to what i want to do. Please note that current project set up - is NON Maven
Any help appreciated
I use insall4j for this job. There is a ant task for creating installer (and launcher)
Some days ago, I found several softwares doing that on Sourceforge.net but one of them was just a graphical interface above RPM build tools, I needed to understand what to put into a spec file and in .rpmmacros... The other one seems too simple to do what I want. Currently, I'm trying to use Redline RPM pure Java library, you can use it with or without Ant if you want. I'm still trying to make it work as you can see here.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I was wondering if any of you knew of eclipse plugins that scan your code for internationalization issues? Things like embedded strings or locale-sensitive methods.
I looked on google and there were alot of articles on HOW to internationalize an eclipse plugin but none that support it.
Thanks in advance!
I believe internationalization is a complex issue, and every language/framework/you-name-it which deals with i18n does it differently. So, my guess is there is no such plugin, and will not be in the near future.
The only plugin I found is Eclipse I18N Properties File Editor which addresses a specific file type, but chances are you don't need this one in particular.
The closest you can get in Java is with the help of below tools
getext-commons - it can help you in Easy extraction of user visible strings etc
JRC Editor - it can help you in managing resource bundles. For e.g. it can tell you if a given key has translation missing for any supported locale of your application
Although this is an old question, thought to share TapiJI as a good option in case someone is still searching
https://code.google.com/a/eclipselabs.org/p/tapiji/