[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools] Adding projects to a workspace with Ant <cvs>

Hi, folks:

I am using the <cvs> Ant task to checkout modules to my Eclipse workspace
directory, but they do not show up as projects in Eclipse. I tried using
<eclipse.refreshLocal> in various ways without success--for example:

    <eclipse.refreshLocal resource="." depth="zero"/>

    <eclipse.refreshLocal resource="." depth="one"/>

    <eclipse.refreshLocal resource="MyProject" depth="infinite"/>

Is there some way, without manually adding them, to make the workbench see
projects that Ant checks out to a workspace directory?

--P.S.:--My Goal------------------
My goal is to find a way to perform team operations on a "package" (group)
of projects from a specific branch or with a specific version tag. A CVS
alias-module is helpful for checkout, but the module/projects association is
not maintained in the workspace, so I cannot do other team operations on the
entire package (update, commit, tag, branch, etc.). A Team Project Set,
combined with the com.csc.dip.projectset plugin (1.1.1), apparently allows
me to do every team operation on the package *except* checkout. I could have
both a CVS alias-module and a Team Project Set, but then they must be kept
in sync when projects are added or removed from the package (and, worse, I
cannot checkout an older version of a package using an older module
definition since only the tip CVSROOT/modules file is active at any given
time).

I have explored various solutions, and using an Ant buildfile and
com.csc.dip.projectset is my latest attempt. It has many advantages, I
think, but every solution brings new problems.

How do *you* package projects for deployment?
Am I "out in the weeds" with my goal or my approach?

I think the rest of the world must use a combination of scripts and Ant to
do builds, but my development platform (QNX Momentics for Windows and QNX 6)
does not seem to support a command-line Ant, so I must Ant from the
workbench--and besides, I do not need automated builds so the workbench is
just fine for now.

Any ideas?

->>>--Dale-Sherwood-->
New York Air Brake Corp.
TDS Group