Changes for page Add a Jar Dependency

Last modified by Pascal Robert on 2010/10/03 00:50

From version 8.1
edited by Pascal Robert
on 2010/10/03 00:50
Change comment: There is no comment for this version
To version 11.1
edited by Pascal Robert
on 2023/11/13 11:58
Change comment: Renamed from xwiki:documentation.Add a Jar Dependency

Summary

Details

Page properties
Parent
... ... @@ -1,0 +1,1 @@
1 +WOLips Tutorials
Tags
... ... @@ -1,0 +1,1 @@
1 +wikitodo|devtools
Content
... ... @@ -2,12 +2,10 @@
2 2  
3 3  Adding these to your project is very simple.
4 4  
5 -1. By default WOLips will create a ##Libraries## folder in your project directory. Populate this with any jars you like.
6 -1. In Eclipse, right-click (or ctrl-click) on the jar and choose ##Build Path > Add to Build Path##. This simply adjusts your project classpath but doesn't affect your final build.
7 -1. For frameworks, you should turn on the Export checkbox in the build path window as hown below in Fig. 1. Doing so ensures that other WebObjects projects the reference the framework "see" the jar library in their Eclipse build path.
5 +1. By default WOLips will create a {{code language="none"}}Libraries{{/code}} folder in your project directory. Populate this with any jars you like.
6 +1. In Eclipse, right-click (or ctrl-click) on the jar and choose {{code language="none"}}Build Path > Add to Build Path{{/code}}. This simply adjusts your project classpath but doesn't affect your final build.
7 +1. For frameworks, you should turn on the Export checkbox in the build path window as hown below in Fig. 1. Doing so ensures that other WebObjects projects the reference the framework "see" the jar library in their Eclipse build path.
8 8  
9 9  {{info title="Fig. 1 Export jars when in a framework"}}
10 -
11 -!Picture 11.jpg!
12 -
10 +[[image:attach:Picture 11.jpg]]
13 13  {{/info}}
Picture 11.jpg
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.XWikiGuest
Size
... ... @@ -1,0 +1,1 @@
1 +97.2 KB
Content
XWiki.XWikiComments[0]
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.probert
Comment
... ... @@ -1,0 +1,1 @@
1 +We need to explain how to "export" JARs that are in frameworks so that you can use them in other projects inside Eclipse for development.
Date
... ... @@ -1,0 +1,1 @@
1 +2012-02-11 05:35:11.821