adobe / aem-eclipse-developer-tools

The Eclipse plugin that brings you the full connection to the Adobe Experience Manager, with auto-sync and project creation wizard.
Apache License 2.0
35 stars 23 forks source link

Error when skipping server creation in wizard #6

Closed gabrielwalt closed 9 years ago

gabrielwalt commented 10 years ago

Description

Skipping the server step of the project creation wizard doesn't offer a consistent experience.

Steps to reproduce

Remove all projects, all server configurations and restart Eclipse. This is important otherwise the following instructions will show yet other problems than the ones described.

On a fresh Eclipse, create a project with the AEM Sample Multi-Module Project wizard, and hit the Finish button early on the Configure Archetype Properties step, when no server has been configured yet. The wizard then doesn't close but shows a cryptic error message For input string: "". Trying to hit the Finish button again shows another error message Project already exists with name example, so Cancel must be pressed.

It is very tempting to press enter to go to perform the default action, which should be the best choice. But in this case this behavior leads to a status that is then hard to recover from, especially for those that don't know well Eclipse.

Suggested fix

We shouldn't allow to skip the server setup step of the wizard. But to still allow no server to be setup, we should add a third option to the Select or Create Server step: Don't setup a server.

rombert commented 9 years ago

We shouldn't allow to skip the server setup step of the wizard.

The early finish issue has been fixed in the Sling IDE Tooling project ( see SLING-3996: New maven project wizard should not allow early finish, before performing server operations ) and will be incorporated in the next AEM Developer Tools public release.

If you'd like to build a fix yourself, please follow the instructions from Sling IDE Tooling - building from source.

I still need to look into the server setup part and allow skipping the server selection.

rombert commented 9 years ago

we should add a third option to the Select or Create Server step: Don't setup a server.

This has been fixed in the Sling IDE Tooling project ( see SLING-3997: Allow skipping server configuration when creating new project ) and will be incorporated in the next AEM Developer Tools public release.