datanucleus / datanucleus-eclipse-plugin Goto Github PK
View Code? Open in Web Editor NEWPlugin for use of DataNucleus in Eclipse IDE
Plugin for use of DataNucleus in Eclipse IDE
Need an extra option in the API selector for general preferences.
Why be able to specify things for a project and then have to specify them again on the wizard popup? The enhancer interface doesn't do that.
Using eclipse, when doing changes to a project, Datanucleus (with auto-enhance enabled) triggers a class file enhancement job. After the job finishes, eclipse seems to have no clue, that some classes have changed.
For reference, I'm having the following use-case:
With Apache Isis' simple-app [1] example artifact, a web-app is split into 3 or more modules (eclipse projects). Datanucleus support is activated for the 'domain-object' project and the 'web' project is responsible for packaging the application for web deployment, while dependent on the 'domain-object' project. The web-project is configured in eclipse for 'local auto-deployment'.
Now when changing source-code in the 'domain-object' project, I do get 'file resource out of sync' messages originating from eclipse.
[1] https://isis.apache.org/guides/ugfun/ugfun.html#_ugfun_getting-started_simpleapp-archetype
Now that Eclipse jars are present in a Maven repository this should be possible
I did not find a way to supply my Persistence Unit Name to the Schema Tool Job. The entered String is somehow ignored.
Basically i try to achieve the following command:
java -cp %CLASSPATH% org.datanucleus.store.schema.SchemaTool -v -create -pu TEST
The schema is created properly when i run this command on command line (the classpath is omitted here to be shorter). But the schema is created without honoring my package-h2.orm File when run via plugin. It seems it is not properly handling the Persistence Unit String and instead expects me to fill everything as arguments. If i dont, it complains about "There is no available StoreManager of type """. However, i was able to successfully use the plugin for schema creation by suppying all the connection properties and by adding "javax.jdo.option.Mapping" as an additional VM args in the options. It would be nicer if it would read my persistence.xml, because all the values are there already.
With Auto-Enhancement enabled and (I guess) Use file list file enabled, the Enhancer runs into an infinite loop constantly triggering itself.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.