-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Provide a "New ALE Project" wizard #98
Labels
Comments
echebbi
added a commit
that referenced
this issue
Feb 29, 2020
echebbi
added a commit
that referenced
this issue
Mar 2, 2020
echebbi
added a commit
that referenced
this issue
Mar 2, 2020
echebbi
added a commit
that referenced
this issue
Mar 4, 2020
echebbi
added a commit
that referenced
this issue
Mar 4, 2020
Because: - makes easier to make an "ALE-aware" project (fix #98) Signed-off-by: Emmanuel Chebbi <emmanuel.chebbi@outlook.fr>
echebbi
added a commit
that referenced
this issue
Mar 10, 2020
Because: - makes easier to make an "ALE-aware" project (fix #98) Signed-off-by: Emmanuel Chebbi <emmanuel.chebbi@outlook.fr>
echebbi
added a commit
that referenced
this issue
May 1, 2020
echebbi
added a commit
that referenced
this issue
May 2, 2020
echebbi
added a commit
that referenced
this issue
May 2, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Motivation
Currently the only way to create a project with ALE is to instantiate the Hello world! example:
File > New > Example
EcoreTools ALE Examples > Hello world!
This is neither intuitive nor convenient.
Proposed Solution
Provide a New ALE Project wizard (
File > New > ALE > New ALE Project
) that would create:Things to consider
1. Java Nature
Since ALE scripts can call Java code we should either add the Java nature to the project by default or provide an easy way to add it (quick fixes, checkbox in the New Project wizard, context menu, etc.)
2. Modeling nature
Users will likely want to edit the Ecore model with the graphical editor. However, since they may prefer to keep a lightweight project I believe that we should not impose it.
We may provide an "[x] Edit Ecore model graphically" checkbox in the New Project wizard (likely checked by default) that would additionally:
3. File location
We currently put all ALE-related files under the
model/
directory. I proposed above to create the main ALE source file under thesrc/
directory. There are other solutions and I think we should discuss the basic structure of an ALE project (maybe create a dedicated issue?).I think that the structure depends on the purpose of ALE and for whom it is intended:
If ALE projects are usually standalone projects containing only ALE source files
then I believe that the first structure I proposed fulfil its purpose.
If ALE projects usually contain Java code
then we may consider the following structures:
src/main/java
&src/main/ale
src/
&src-ale
The text was updated successfully, but these errors were encountered: