You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. This function generates command the Katacoda user has to execute manually.
178
180
2. To execute this function, devonfw-ide must be installed.
181
+
3. This function will always create the devon4j project with latest devon4j version.
179
182
180
183
***
181
184
182
185
### ii. buildJava <aname="buildJava"></a>
183
186
This function will build your java project.
184
187
#### Parameter:
185
188
This function consist two parameter .
186
-
1.1st Parameter:
189
+
1.First Parameter:
187
190
-**Required**
188
191
-**Type**- String
189
192
-**Description**- The project directory, relative to workspace.
190
-
2.2nd Parameter:
193
+
2.Second Parameter:
191
194
-**Optional**
192
195
-**Type**- Boolean
193
196
-**Description**- Indicator whether tests should be run. Default is false.
@@ -202,11 +205,11 @@ This function consist two parameter .
202
205
This function will run your Java application on server.Parameter and assertion information you need to use properly, which is mentioned below.In Katacoda the command will be executed in a new terminal.
203
206
#### Parameter:
204
207
This functions consists of two parameters.
205
-
1.1st Parameter:
208
+
1.First Parameter:
206
209
-**Required**
207
210
-**Type**- String
208
211
-**Description**- Path to the server directory within the Java project.
209
-
2.2nd Parameter:
212
+
2.Second Parameter:
210
213
-**Required**
211
214
-**Type**- JSON object
212
215
-**Description**- This parameter consist of three attributes which are the assertion information. Only needed for the console runner to check if the server was started properly.
@@ -391,7 +394,7 @@ This function consist of 2 parameters
391
394
* Second attribute: It is Optional. Name of a placeholder
392
395
* Third attribute: It is Optional. Line number where you want to insert your code. (Possible lines are: 1...n+1 for N = number of existing lines. File cant be empty)
393
396
#### Example:
394
-
changeFile("cobigenexample/core/src/main/java/com/example/application/cobigenexample/customermanagement/dataaccess/api/CustomerEntity.java", { "file": "files/Placeholder.java", "placeholder": "private static final long serialVersionUID = 1L;" })
397
+
*changeFile("cobigenexample/core/src/main/java/com/example/application/cobigenexample/customermanagement/dataaccess/api/CustomerEntity.java", { "file": "files/Placeholder.java", "placeholder": "private static final long serialVersionUID = 1L;" })
395
398
#### Details:
396
399
##### Path of the file to get the content from or a string, that should be inserted.
397
400
* If you want to add content from a file then use:
0 commit comments