-
Notifications
You must be signed in to change notification settings - Fork 45
devon4j creating a project
In this chapter you will learn to create a workspace and create a projekt using the CLI or the GUI. When using devon, each project has its own workspace and can be edited by different instances of the IDE, e.g. eclipse.
-
Goto your Devon-dist. folder. Open
console.bat
-
Execute:
cd workspaces
-
Execute:
devon workspace create -workspace MyWS
-
If the job is finished, use ctrl+c to and answer y to the question
-
Execute:
cd MyWS
-
Execute:
devon devon4j create –p
and insert the following entries.-
Serverpath: hit Enter. (So it will be the current directory).
-
Servername: myServer (or any name you like).
-
Packagename: com.capgemini.myServer
-
Groupid: com.capgemini
-
Version: 1.0
-
Dbtype: h2
-

-
Execute:
update-all-workspaces.bat
from your devon-dist. folder. -
Execute:
cd MyServer
-
Execute:
mvn install
(installs the Maven project). -
Execute: devon devon4j run –port 8081
Note
|
The two commands |
We see later, how to access these server. For now just use ctr+c to stop it from running.
-
Open:
console.bat
-
Goto your workspaces directory.
-
Execute :
devcon -g
-
The GUI should open. Open "workspaces" select "create".

-
Insert: MyProject. Click "Start".

-
Click "back".
-
Open "devon4j". Select "create".
-
Serverpath: ../MyProject/Servers
-
Servername: mp
-
Packagename: com.devonfw.application.mp
-
Groupid: com.devonfw.mp
-
Version: v4
-
Dbtype: h2
-

-
Press: "Start"
-
From you devon-dist. folder execute :
update-all-workspaces.bat
-
From your devon-dist. folder execute:
eclipse-jumpthequeue.bat
-
Eclipse instance should open.
Now you know how to create a project with devon/devcon.
Note
|
You can also create new projects:
|
Next chapter: Jump The Queue Design
This documentation is licensed under the Creative Commons License (Attribution-NoDerivatives 4.0 International).