oasp / oasp4j-ide Goto Github PK
View Code? Open in Web Editor NEWtool to automate setup and update of development environment (for Java projects)
License: Apache License 2.0
tool to automate setup and update of development environment (for Java projects)
License: Apache License 2.0
It would be nice to integrate "Quick Search for Eclipse 3.6.1.RELEASE " (http://marketplace.eclipse.org/content/quick-search-eclipse)
This plug-in is a very helpful and fast search tool. I am using it each 5 minutes and it improves my productivity tremendously. You can open the quick search dialog by Ctrl+Shift L
I vote for setting the console buffer size to the maximum allowed size.
Especially for large console logs like caused by spring, you might go back further than the current default configuration of the console allows.
With the plain version of oasp4j-ide, you currently get NullpointerExceptions and Unhandled event loop exceptions when adding and editing extensions to an PDE Manifest.
You can fix this by installing the Eclipse SDK bundles as well.
I also installed the "Eclipse PDE Plug-in Developer Resources", but I do not think this is necessary for fixing the Bug.
It would be nice to write unix/mac scripts for the bat files that we currently have for windows support. Contributions are very welcome.
Eclipse Luna SR1 is out and contains various fixes. Also new versions of STS and other plugins are available that solve issues like #13 properly.
Therefore we should create a new software bundle based on a vanilla SR1 release.
we have some small infra (ant script, m2e demo project to trigger m2e extension donwload, etc.) that should be available.
The XML/HTML formatter empties style attributs. For example, if you have a tag like this in your HTML/XML file:
<th style="#{cc.attrs.hidden ? 'display:none' : ''}" >
Ater hitting CTRL+SHIFT+F the style attribute is empty:
<th style="" >
Disabling "Automatically close attribute values" did not help. Any ideas?
if ide-properties[.bat] is missing, then IDEenv[.bat] or console[.bat] are causing this error:
Error message: βThe system cannot find the path specified.β
The reason for this error is line 18 of scripts\environment-project.bat:
call %SETTINGS_PATH%\ide-properties.bat
Before repo with settings is checked out, there is no such file. call shall be surrounded with an if that checks for the existence of the file.
The sonarqube plugin by default registers a key-binding for [alt][q] to open a sonar view.
On a German keyboard the at-sign (@) is [alt GR][q] and eclipse seems to be unable to distinguish between [alt] and [alt GR] modifier for keybindings. Hence, you can not type an at-sign as this is catched as keybinding and triggers sonar qube.
Solution is to remove the keybinding. We need to preconfigure Eclipse via oasp4j-ide so that this happens automatically for you when the workspace is created.
As we are proposing AngularJS and also Eclipse, we should also recommend and integrate the according plugin for Eclipse.
To end the pointless philosophy of trunk vs. master vs. head or anything like this we should give the main workspace a simple and neutral name.
The obvious one is main
and that is what we should go for.
Projects that are already using oasp4j-ide have to rename their main workspace or use variables-cutomized.bat to override this back to trunk
if they used the previous default. I am aware that this is an undesired issue but we have to go through this once to get final freedom. We now include content to the default workspace and have to give it a neutral name so I see no other suitable option.
Sorry for any inconvenience.
create and stage release.
We need to create the actual release.
We should add a solution to define OS specific folders in eclipse settings that act as overlay. So files present there will "override" the default settings if that platform is currently active.
We want to preconfigure Mylyn for the OASP. Mylyn configuration is very strange (zipped files with references to binary lucene index, etc.). Therefore we can only preconfigure the repositories and not the queries without re-implementing parts of mylyn itself.
It would be very nice if we could manage to integrate the StartExplorer Plug-in with the IDE's initialization scripts. Thus we would be able to start an IDE initialized command line using shortcuts of StartExplorer directly out of eclipse.
I had a short look at this and saw a lot of freedom for customization StartExplorer gives advanced users. To maybe it is worth to have a look at in the near future.
In case someone wants to customize jvm options for eclipse but also wants easy replacement and upgrade of software package (that contains eclipse.ini) there should be easy support in oasp4j-ide.
Eclipse has several file extensions for files that actually contain XML. Beside *.xml and *.launch that are already supported by oasp4j-ide there is also *.xmi. In case a template file for an *.xmi needs to use variables the oasp4j-ide currently does not process them as XML files with substitution and falls back to regular file copy.
This should be changed so that *.xmi is treated just like *.xml.
We have been trying to activate checkstlye for projects automatically with m2e in Eclipse.
This was so easy with maven-eclipse-plugin:
http://maven.apache.org/plugins/maven-eclipse-plugin/examples/configure-checkstyle.html
However with m2e this is a big problem. We found and tested this project:
https://code.google.com/p/m2e-extensions/
However it seems to be dead and does not work with recent versions of Eclipse and m2e if it ever worked at all. See also:
https://code.google.com/p/m2e-extensions/wiki/Checkstyle
Next we tried this one:
https://github.com/m2e-code-quality/m2e-code-quality
It installs properly but seems to do nothing. There are no working step-by-step instructions that worked for us...
General infos how it could practically work are described here:
https://docs.sonatype.org/display/M2ECLIPSE/Customizable+build+lifecycle+mapping+for+m2e+extensions+developers
We also tried to create our own eclipse plugin for this but had no luck either.
Same story as for #14 is needed for jenkins.
Task for the actual releasing.
TCF allows to open native local shell directly in eclipse view what is nice for running external tools directly from eclipse.
Some other collegues as well as myself observe a blocking behavior when deleting non-java resources after have opened them beforehand.
In addition the same behavior occurs when trying to rename a non-java resource like a xml file.
Can someone else confirm this strange behavior?
Possibly it has been solved in the 1.3.0 release. I have to check this...
As we are providing template configurations for e.g. tomcat we also have to consider security aspects such as:
https://www.owasp.org/index.php/Top_10_2013-A5-Security_Misconfiguration
complete the release and stage it to maven central.
When using oasp4j-ide you can quickly setup your IDE with all required settings. This is cool.
However you still have to manually import the projects into your workspace.
It would be nice to have better support here.
I recently upgraded my oasp4j-ide to 1.4.0-rc1 to be able to work with js projects and by the way test the new rc.
I observed two issues so far:
-javaagent:lombok.jar
from the eclipse.inithe svn client included in the ide software package is too old and has to be upgraded. It does not even match to the SVN client including in Eclipse and is therefore currently useless.
Would be nice to have common editor configuration for IDEA and Eclipse, http://editorconfig.org/ seem to be good solution. As a recommendation: this project is used for example by angular and angular-ui.
I just tried to import the CPEenv.reg and configured it as stated in the documentation.
When I open a command line using the windows cmd.exe directly (opening a command line for C:\Users) and typing CPEenv, I do not get any message as intended.
If I open my user folder using the folder context menu entry 'Open CMD here' I get the command line with the heading message
'CPEenv' is not recognized as an internal or external command,
operable program or batch file.
Also for ClientPE folders I get the same message.
Environment: Win7x64, Account Control Settings 'default'
We want to upgrade to the recent tomcat 7 which is 7.0.57
I ran into an incompatibility problem after upgrading my Luna plug-ins to the latest version.
Spring Tool Suite 3.6 is incompatible with SonarQube Plug-ins of version 3.4. The problem is an non-standardized artifact of slf4j, which is imported by SonarQube. After uninstalling SonarQube, m2e does ist job again.
For more information see here
Just a hint for further central ide upgrades
Yet another design flaw of eclipse. The credential store is actually bound to the eclipse installation that seems to ship the credentials for encryption of the store so it can not be shared across eclipse installations what was actually the goal.
However the eclipse default of having the store inside the eclipse software directory is still the worst option as this causes that people ZIP up a software package and accidentally share and spread all their passwords. That is really totally odd.
So we would need to have a unique identifier for each oasp4j-ide installation that we can append to the store path to make it work.
org.eclipse.equinox.security.storage.StorageException: Unable to locate secure storage module (org.eclipse.equinox.security.windowspasswordprovider).
at org.eclipse.equinox.internal.security.storage.PasswordProviderSelector.findStorageModule(PasswordProviderSelector.java:190)
at org.eclipse.equinox.internal.security.storage.SecurePreferencesRoot.getModulePassword(SecurePreferencesRoot.java:231)
at org.eclipse.equinox.internal.security.storage.SecurePreferencesRoot.getPassword(SecurePreferencesRoot.java:224)
at org.eclipse.equinox.internal.security.storage.SecurePreferences.get(SecurePreferences.java:262)
at org.eclipse.equinox.internal.security.storage.SecurePreferencesWrapper.get(SecurePreferencesWrapper.java:106)
at org.eclipse.mylyn.internal.commons.repositories.core.SecureCredentialsStore.get(SecureCredentialsStore.java:86)
at org.eclipse.mylyn.tasks.core.TaskRepository.getAuthInfo(TaskRepository.java:306)
at org.eclipse.mylyn.tasks.core.TaskRepository.getCredentials(TaskRepository.java:381)
at org.eclipse.mylyn.internal.tasks.core.TaskRepositoryLocation.getCredentials(TaskRepositoryLocation.java:59)
at org.eclipse.mylyn.commons.net.WebUtil.createHostConfiguration(WebUtil.java:283)
at org.eclipse.mylyn.internal.bugzilla.core.BugzillaClient.authenticate(BugzillaClient.java:495)
at org.eclipse.mylyn.internal.bugzilla.core.BugzillaClient.getSearchHits(BugzillaClient.java:672)
at org.eclipse.mylyn.internal.bugzilla.core.BugzillaRepositoryConnector.performQuery(BugzillaRepositoryConnector.java:394)
at org.eclipse.mylyn.internal.tasks.core.sync.SynchronizeQueriesJob.synchronizeQuery(SynchronizeQueriesJob.java:312)
at org.eclipse.mylyn.internal.tasks.core.sync.SynchronizeQueriesJob.synchronizeQueries(SynchronizeQueriesJob.java:269)
at org.eclipse.mylyn.internal.tasks.core.sync.SynchronizeQueriesJob.run(SynchronizeQueriesJob.java:201)
at org.eclipse.mylyn.internal.tasks.core.sync.SynchronizeRepositoriesJob.updateQueries(SynchronizeRepositoriesJob.java:187)
at org.eclipse.mylyn.internal.tasks.core.sync.SynchronizeRepositoriesJob.run(SynchronizeRepositoriesJob.java:142)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
When you debug a maven/m2e project in Eclipse the source code is not displayed even though it is actually attached.
As far as I see there is only a script for Windows. Is it possible to generate a script for *nix based systems?
groupId is currently io.oasp but should be io.oasp.java to be consistent.
The software package contains cobigen and also a mixture of software with different licenses.
People should be aware of this. E.g. cobigen must not be distributed - so in case we need to hand over to a client, we need a signed license agreement with the customer in advance. This should all be properly explained in the software package file.
createOrUpdateWorkspaces seems to have problems when whitespaces are part of the path to the ide root folder.
With #15 we introduced unix support. We should now do some improvements and tidy up:
IMHO we should
oasp4j-ide-scripts
to oasp4j-ide-scripts-windows
).oasp4j-ide-scripts-unix
) so you can choose to download per OSCurrently we use capitalized folders and reference them in the scripts. On windows this does not make a difference but it can cause confusion. E.g. a vanilla eclipse extracts as "eclipse" folder and not as "Eclipse". Esp. with focus on #15 we should switch to lower case folder names that we already use in most places.
There is a bug in the current version of m2e, which is really annoying, when retrieving your code artifacts with m2e:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=440273
Version 1.6 containing the Bugfix is not yet released, but as far as I got the hint in the ticket and release plan of Eclipse Mars right, it should be released at 3rd of october.
the oasp4j-ide-settings-1.1.0.zip
that has been released was incomplete as complete folders such as .metadata
are excluded by assembly plugin by default.
Currently two SVN TeamProvider are pre-installed in the current Client-PE release: SVNKit & JavaHL Native.
As JavaHL Native seems to be more instable than SVNKit, we should uninstall JavaHL Native or at least set SVNKit to the new default TeamProvider.
Nevertheless, I have some observations on that:
After uninstalling JavaHL Native from my local Client-PE instance, I got further errors, e.g. while committing, which seems occur in the JavaHL Native namespace. Possibly, we should have a look at a fresh install, where no JavaHL TeamProvider has been installed before to test, whether the errors might caused by a JavaHL installation.
From issue #183 of oasp4j we have the issue to provide a launch config to use a reasonable working directory in order to use the same relative path for logging (configured in logback.xml) in Tomcat and in Eclipse.
Add jenkins to the software package also include a ready to use configuration template for a CI build job on main repo.
As far as I understood different workspaces in the oasp4j-ide, they should represent multiple branches of one product. Why? - Because you do not want to switch branches on one copy?
I even started to think about having multiple product workspaces for products, which are closely related to each other in one oas4j-ide. Nevertheless, you might want to rename the default "master" MAIN_BRANCH to one of the projects name, because the SETTINGS_REL_PATH will be resolved dependent on MAIN_BRANCH config. Would changing MAIN_BRANCH to something like "productName" have any impact on anything? Maybe I did not get the idea of this configuration entry.
I have added Node.JS to software zip but it needs a little customization to work properly:
"SET PATH=%PATH%;%APPDATA%/npm"
The eclipse classpath variables for Maven are configured incorrectly.
org.eclipse.jdt.core.classpathVariable.M2_REPO=${client.env.home}/conf/.m2/repository
is wrong as the user can configure an arbitrary location for his maven repository via M2_REPO env variable.
Correct version should be:
org.eclipse.jdt.core.classpathVariable.M2_REPO=${M2_REPO}
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.