db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Monroe <mon...@dukece.com>
Subject Torque 4 with MyEclipse 7.0
Date Thu, 05 Mar 2009 17:27:58 GMT
Just in case someone else is using this.. here's how I got the Torque4 branch to play nice
(well, a couple of things I'm still working on... in the test cases..)

How To  Set up Torque 4 with MyEclipse 7.0

- Enable m2eclipse features in MyEclipse preferences (Maven4MyEclipse dialog box)

- Create New Java Maven Project (e.g. Torque4)

- Enable "Nested Modules" in project (Right click on project/Maven4MyEclipse/ click on
  Enable Nested Modules option)

- Use Subclipse (or your fav alternative) to check out Torque4/trunk from:.


   Select "Check out as project in the workspace" (NOT new project wizard)

- Replace the existing root level pom.xml with the pom.xml from the torque-maven-parent.
  Edit this so the modules are pointing the ./<module> instead of ../<module>

- Right click on the pom.xml and select Run As.. / maven install This will build
  all the projects and create the target directories, etc.  Some errors may occure.

  Refresh project afterwards so Eclipse sees all the maven created files.

- Set up Eclipse build path for each submodule's main/java.  E.g. add
  <module>/src/main/java as a src directory and set the output directory to

- Set up Eclipse build path for each submodule's src/test/java.  E.g. add
  <module>/src/test/java as a src directory and set the output directory to

- Delete the default root level src/java from from the build path and then delete
  the src and target directories from the root directory.

- Use Team / Synchronize with repository to identify items to add to the svn ignore
  list (.e.g new pom.xml, .setting directory, and the like).

Disclaimer:  Wrote this after fumbling around a bunch of different ways to figure out
these steps.  These haven't been tested with a complete delete / re-install to
verify them.

Greg Monroe <Monroe@DukeCE.com> (919)680-5050
C&IS Solutions Team Lead
Duke Corporate Education, Inc.
330 Blackwell St.
Durham, NC 27701

DukeCE Privacy Statement:
Please be advised that this e-mail and any files transmitted with
it are confidential communication or may otherwise be privileged or
confidential and are intended solely for the individual or entity
to whom they are addressed. If you are not the intended recipient
you may not rely on the contents of this email or any attachments,
and we ask that you please not read, copy or retransmit this
communication, but reply to the sender and destroy the email, its
contents, and all copies thereof immediately. Any unauthorized
dissemination, distribution or copying of this communication is
strictly prohibited.
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message