Skip to content

Commit b48c2f4

Browse files
Merge pull request #79379 from andxu/andxu_function_java1
Update the steps in tutorial(including snapshots) since old steps doe…
2 parents 3755933 + 00304ef commit b48c2f4

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

articles/azure-functions/functions-create-maven-eclipse.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,15 @@ It's highly recommended to also install [Azure Functions Core Tools, version 2](
3939

4040
## Create a Functions project
4141

42-
1. In Eclipse, select the **File** menu, then select **Project**.
43-
1. Open the **Java Project** folder in the **New Project** window and select **Maven Project**, then select **Next**.
42+
1. In Eclipse, select the **File** menu, then select **New -> Maven Project**.
4443
1. Accept the defaults in the **New Maven Project** dialogue and select **Next**.
4544
1. Select **Add Archetype** and add the entries for the [azure-functions-archetype](https://mvnrepository.com/artifact/com.microsoft.azure/azure-functions-archetype).
4645
- Archetype Group ID: com.microsoft.azure
4746
- Archetype Artifact ID: azure-functions-archetype
48-
- Version: Use latest version from [the central repository](https://mvnrepository.com/artifact/com.microsoft.azure/azure-functions-archetype)
47+
- Version: Use latest version **1.22** from [the central repository](https://mvnrepository.com/artifact/com.microsoft.azure/azure-functions-archetype)
4948
![Eclipse Maven create](media/functions-create-first-java-eclipse/functions-create-eclipse.png)
50-
1. Click **OK** and enter details for current project, and eventually **Finish**.
49+
1. Click **OK** and then click **Next** to enter values like the following snapshot(please use a different appName other than **fabrikam-function-20170920120101928**), and eventually **Finish**.
50+
![Eclipse Maven create2](media/functions-create-first-java-eclipse/functions-create-eclipse2.png)
5151

5252
Maven creates the project files in a new folder with a name of _artifactId_. The generated code in the project is a simple [HTTP triggered](/azure/azure-functions/functions-bindings-http-webhook) function that echoes the body of the triggering HTTP request.
5353

@@ -64,7 +64,7 @@ Terminate the runtime in the console window when you're done testing your functi
6464

6565
### Debug the function in Eclipse
6666

67-
In your **Run As** configuration set up in the previous step, change `azure-functions:run` to `mvn azure-functions:run -DenableDebug` and run the updated configuration to start the function app in debug mode.
67+
In your **Run As** configuration set up in the previous step, change `azure-functions:run` to `azure-functions:run -DenableDebug` and run the updated configuration to start the function app in debug mode.
6868

6969
Select the **Run** menu and open **Debug Configurations**. Choose **Remote Java Application** and create a new one. Give your configuration a name and fill in the settings. The port should be consistent with the debug port opened by function host, which by default is `5005`. After setup, click on `Debug` to start debugging.
7070

12 Bytes
Loading
29.4 KB
Loading

0 commit comments

Comments
 (0)