Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The next panel allows you to set up the structure of the new project. The source tab allows you to determine where the source code and other resources can be found.
In this case you can just leave the defaults. We do need to configure the introducing-trips/src/main/resources folder as a source folder for the project but it's easier to do this once the project has been created.

2.5 - Specifying dependency projects

...

The Libraries tab allows you to specify the Tuscany jars that are required to compile this module. Image Removed Image Added
We've already configured the TUSCANY library in step 2.2 so you can select this using the Add Library button an selecting User Library in the resulting dialog.

Once that's done you can press the Finish button at the bottom of the dialog. The result should be an introducing-trips project.

2.7 - Adding extra source folders

Eclipse doesn't automatically pick up some of the folders that have been configured in the Maven modules. These are usually.

Code Block

src/main/resource
src/test/resource
target/jaxws-source

You need to configure these manually as source directories. Right click on the project and select "Properties" options. Image Added
From here select the project that compiles without errorfolder that you want to include as a source folder, for example, src/main/resources. Press OK to return.

2.

...

8 - Running the sample

To run the sample we need to import launchers/jumpstart by repeating steps 2.3, 2.4, 2.5, 2.6 and 2.7 for the jumpstart project. There is extra work required at step 2.6 this time though. The jumpstart module has unit tests that depend on the junit-4.5.jar that ships in the tuscany-scatours-1.0\lib\junit directory. Add this as a dependency of the project using the "Add External Jars..." button.

...