Giter Club home page Giter Club logo

oasp4j-ide's People

Contributors

changecreator avatar fawinter avatar gawandekunal avatar henning-cg avatar hennk avatar hohwille avatar ivanderk avatar j4yk avatar jorge-dacal avatar jsanchoh avatar maybeec avatar priyankabelorkar avatar sjimenez77 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

oasp4j-ide's Issues

NPE & Unhandled event loop exceptions when editing PDE Manifest extensions

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.

support for other platforms

It would be nice to write unix/mac scripts for the bat files that we currently have for windows support. Contributions are very welcome.

update to Eclipse Luna SR1

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.

XML/HTML Formatter empties style attributs

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?

avoid error if ide-properties are missing

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.

not able to type @ on German keyboard

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.

rename default workspace name to main (not trunk anymore)

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.

Introduce platform specific eclise templates

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.

preconfigure mylyn for OASP

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.

Integrate StartExplorer Plugin with IDE infrastructure scripts

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.

ability to customize eclipse jvm options

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.

support for substitution in *.xmi files

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.

activate checkstyle automatically on maven project import

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.

IDE blocks deletion of non-java resources

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...

support or strategy for importing projects

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.

Several issues while upgrading to 1.4.0-rc1

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:

  1. I could not start eclipse until I removed -javaagent:lombok.jar from the eclipse.ini
  2. Furthermore, eclipse could not load the workspace with the existing .metadata created by the previous release, which is quite annoying.

update svn client

the 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.

CPEenv system integration does not work

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'

Incompatibility of Eclipse plugins STS Quicksearch, sonar-ide and m2e

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

Unexpected error accessing secure storage, falling back to in memory store for credentials.

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)

Script for Linux and MAC

As far as I see there is only a script for Windows. Is it possible to generate a script for *nix based systems?

add readme/license file to software package

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.

improve unix support

With #15 we introduced unix support. We should now do some improvements and tidy up:
IMHO we should

  • keep the current scripts ZIP release as is (potentially rename from oasp4j-ide-scripts to oasp4j-ide-scripts-windows).
  • add a new maven module that produces a TGZ with just the scripts for unix/linux (oasp4j-ide-scripts-unix) so you can choose to download per OS

use lower case folders consistently

Currently 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.

oasp4j-ide-settings ZIP is incomplete

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.

Change SVN TeamProvider

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.

Provide xml launch config for Tomcat

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 for local CI

Add jenkins to the software package also include a ready to use configuration template for a CI build job on main repo.

branches vs. workspaces

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.

node.js support

I have added Node.JS to software zip but it needs a little customization to work properly:

  • In the home directory of the user a folder +npm+ has to be present. The setup script should create it if the folder does not exist.
  • The directory has to be added to the PATH. On Windows
"SET PATH=%PATH%;%APPDATA%/npm"
  • This should only happen if nodejs is present. Therefore we expect that the installation is in +software/nodejs+ (we check if that folder is present).

classpath variable M2_REPO/MAVEN_REPO configured incorrect

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}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.