jalios / eclipse-jcms-plugin-tools Goto Github PK
View Code? Open in Web Editor NEWEclipse JCMS Plugin Tools - Tools to develop JCMS in Eclipse
Eclipse JCMS Plugin Tools - Tools to develop JCMS in Eclipse
As existing "Convert to Maven Project", this would be usefull a same function to create the .project, with generated ".jcmsPluginNature" setup.
Declare webapp project dependency in sync.conf file instead of .project.
It could be usefull to allow some regexp.
Eg: plugins/AcmePlugin/*/.-generated.css
Version 2.0.3 Beta
Eclipse neon 2
I have an recurring exception with Neon 2 with my plugins.
!ENTRY org.eclipse.core.jobs 4 2 2017-02-23 11:53:00.191
!MESSAGE An internal error occurred during: "Check preview sync".
!STACK 0
java.lang.NullPointerException
at com.jalios.ejpt.sync.strategy.FilesCouldBeMissed.getFilesInWebappPublicPluginDirectory(FilesCouldBeMissed.java:60)
at com.jalios.ejpt.sync.strategy.FilesCouldBeMissed.run(FilesCouldBeMissed.java:44)
at com.jalios.ejpt.sync.strategy.GlobalSyncStrategy.run(GlobalSyncStrategy.java:40)
at com.jalios.ejpt.jobs.Util.previewSync(Util.java:37)
at com.jalios.ejpt.jobs.SyncJob.run(SyncJob.java:31)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
This exception appears since I use Neon 2, and randomly (I think).
Version 2.0.3 Beta
Eclipse neon
If i have one plugin named Plugin1, who override Plugin2 private file we have an exception :
!MESSAGE An internal error occurred during: "Check preview sync".
!STACK 0
java.lang.NullPointerException
at com.jalios.ejpt.sync.strategy.FilesCouldBeMissed.getFilesInWebappPublicPluginDirectory(FilesCouldBeMissed.java:60)
at com.jalios.ejpt.sync.strategy.FilesCouldBeMissed.run(FilesCouldBeMissed.java:44)
at com.jalios.ejpt.sync.strategy.GlobalSyncStrategy.run(GlobalSyncStrategy.java:40)
at com.jalios.ejpt.jobs.Util.previewSync(Util.java:37)
at com.jalios.ejpt.jobs.SyncJob.run(SyncJob.java:31)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Directory tree :
WEB-INF/plugins/Plugin1/plugin.xml
WEB-INF/plugins/Plugin1/properties/language/fr.prop
WEB-INF/plugins/Plugin1/properties/language/en.prop
WEB-INF/plugins/Plugin1/properties/plugin.prop
WEB-INF/plugins/Plugin2/properties/fr.prop
WEB-INF/plugins/Plugin1/plugin.xml contains the webapp declaration of "WEB-INF/plugins/Plugin2/properties/fr.prop"
If i remove "WEB-INF/plugins/Plugin2/properties/fr.prop" it's work
Since sync is based on plugin.xml parsing, unittests are no longer synced.
Allow to sync unittests (or any other directory, or files) between plugin and webapp, event if it is not declared in plugin.xml.
Such a directory could be voluntary not declared for it NOT to be packaged in a plugin.zip.
Workaround :
Ignored files can be declared given their filename only (not the path, neither relative, or absolute).
If multiple files have same name in the plugin, they will all be ommited. (ex: thumbnail.jpg for differents resources).
Improvement: make the declaration "unique"
Exemple of current declaration:
excluded.files = thumbnail.jpg
Proposed declaration:
excluded.files = **/images/**/thumbnail.jpg
Relates to: #4
This would be usefull for community to provide a Github .README file with following :
For all plugin users to have common ignored file setup, this setup should be in a plugin file, not in the webapp sync.conf file.
For local change, use label "LocalChange"
For SVN Server change, use label "RemoteChange"
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.