Updated on 2024-05-09 GMT+08:00

Eclipse Plug-in

Currently, FunctionGraph does not provide Java function templates and only allows you to upload Java function packages through OBS. With the Eclipse plug-in, you can quickly create Java function templates, package function project files, upload function packages to OBS, and deploy functions.

  1. Obtain the Eclipse plug-in (software package verification file: Eclipse plug-in.sha256).
  2. Put the Eclipse plug-in package (.jar or .zip) in the plugins folder under the Eclipse installation directory. Then restart Eclipse. Figure 1 shows the Eclipse installation directory.

    Figure 1 Installing the Eclipse plug-in

  3. Open Eclipse and choose File > New > Other, as shown in Figure 2.

    Figure 2 Creating a template

  4. Choose FunctionGraph > Default Java project, as shown in Figure 3.

    Figure 3 Selecting the default Java template

  5. Enter a project name, specify a project directory (or use the default directory), and click Finish, as shown in Figure 4.

    Figure 4 Setting the project name and directory