ConcourseConnect

Open Source Initiative (OSI) PostgreSQL Java

Building with Eclipse

With Eclipse, the build process involves checking out the source code from Subversion, setting up the workspace, then compiling and running the build.

Checkout the Source Code from Subversion

Eclipse-Setup-01.png

  1. Open the New Project wizard from the menu File -> New -> Projects.
  2. Select the ‘Checkout Projects from SVN’ option.
  3. Click the ‘Next’ button.

Eclipse-Setup-02.png

  1. Select the ‘Create a new repository location’ option.
  2. Click the ‘Next’ button.

Eclipse-Setup-03.png

  1. Enter the SVN URL.
  2. Click the ‘Next’ button.

Eclipse-Setup-04.png

  1. Select the top level root folder.
  2. Click the ‘Next’ button.

Eclipse-Setup-05.png

  1. Select the ‘Check out as a project configured using the New Project Wizard’ option.
  2. Click the ‘Finish’ button.

Setting up the Workspace

The rest of the configuration involves setting up the workspace from the files that were just checked out from Subversion in the previous section.

Eclipse-Setup-06.png

  1. Select File -> New -> Project to bring up the New Project setup wizard.
  2. Click on the ‘Next’ button.

Eclipse-Setup-07.png

  1. Enter the project name.
  2. Choose your runtime server option or a new one can be added.
  3. Click on ‘Next’ button.
  4. On the next screen choose the default entries and click ‘Next’ button.

Eclipse-Setup-08.png

  1. For the Content Directory enter as ‘src/main/webapp’.
  2. For the Java Source Directory enter as ‘src/main/java’.
  3. Click on the ‘Finish’ button.

Eclipse-Setup-09.png

  1. Disable the ‘Build Automatically’ option from the Project menu, since there are more configurations to be done before the project can be built.
  2. Right click on the project name and select Import -> Import to bring up the Import wizard to add the source files to the project.
  3. If you already have the source code checked out, as mentioned in the previous section, then the next 2 screens can be skipped, as the files should already be downloaded to your project from the SVN.

Eclipse-Setup-10.png

  1. Select the General -> File System option.
  2. Click on the ‘Next’ button.

Eclipse-Setup-11.png

  1. Browse and select the location of the source file.
  2. Select the root folder of the source to import all the files in the source to the project. The ‘Overwrite existing resources without warning’ can be chosen as all the files are to be copied into the project.
  3. Click on the ‘Finish’ button.

Eclipse-Setup-12.png

  1. After all the files have been copied, right click the project name and select the option Build Path -> Configure Build Path.

Eclipse-Setup-13.png

  1. To add source folder select the ‘Source’ tab and click on ‘Add Folder…’ button.
  2. The ‘java’ folder under ‘main’ will already be selected. Select the ‘resources’ folder and then ‘java’ folder under ‘test’.
  3. Click ‘OK’ button.

Eclipse-Setup-14.png

  1. To add library files select the ‘Libraries’ tab and click on ‘Add JARS…’ button.
  2. Select all the jar files under the ‘lib’ folder.
  3. Click the ‘OK’ button.
  4. To finish the build settings click on the ‘OK’ button of the Java Build Path screen.

Build and Run

  1. Select the option ‘Build Automatically’ from the Project menu to build the project.
  2. Add the runtime server to the workspace, if there is not one, from the menu on top File -> New -> Server -> Server. Complete the server wizard by selecting your server and adding the project to the server.
  3. Publish and start the server to run the application.

Comments (11)

After building, there are some problems as follows:
Some markers can not be resolved to a type, such as ArrayList,ctx,thisDay,Calender etc.
Could you help me? Thanks!
P.S.Compiling environment is:
eclipse-jee-galileo-SR2-win32.zip downloaded on 20th Mar, 2010
Tomcat 6.0
jdk1.6.0_17

Default user photo
lon w

1 decade ago

Great stuff, I was able to run in IDE and trying to learn how concourseconnect work.

can anyone tell me where can I download source code for concourse_tools-5.3.6-SNAPSHOT.jar and concursive-commons-20091210.jar ?

Thank you.

Default user photo
Sejin Oh

1 decade ago

I want to studing on the concourseconnect project. can anyone tell me the username and password of repository where chechout the source code from svn.

aaron w. photo
aaron wang

1 decade ago

I want to studing on the concourseconnect project. can anyone tell me the username and password of repository where chechout the source code from svn.
my email : cmwang0724@gmail.com

aaron w. photo
aaron wang

1 decade ago

有svn账户和密码吗?

Default user photo
双 罗

1 decade ago

哪位前辈知道这svn的帐号和密码,求得一份 我的邮箱是:javalys@163.com

Default user photo
双 罗

1 decade ago

原来不需要帐号和密码

Default user photo
双 罗

1 decade ago

https://svn.concursive.com/concourseconnect/truck/
Could anyone tell me the loginname & pwd?
thanks My Email: lxl6818@gmail.com

Default user photo
liang li

1 decade ago

Could anyone tell me the loginname & pwd?
thanks !
My Email: xit.sheng@163.com

Default user photo
sheng ying

1 decade ago

Anybody got the login credentials?
Thanks.
mranraj@yahoo.co.in

Default user photo
Raj A

1 decade ago

There are 2 sets of credentials that work... Use your username/password from the Concursive website, or use the username 'anonymous' without a password (blank).

Default user photo
Matt Rajkowski

1 decade ago

Sign in to add your comment.