Eclipse with Ant and CVS

I

ianfeldberg

I'm having trouble importing an Ant project into Eclipse. The project
I'm trying to import is an Ant project that uses CVS for source
control.

I tried importing the CVS module (File->New->Project->Checkout Project
from CVS") which brings in the source from the CVS repository just
fine. The problem is that it doesn't import the whole project and
figure out, from the top-level build.xml file, all the classpaths,
targets, etc.

If I checkout the CVS module outside of Eclipse (using WinCVS) and then
do a "New Java project from an existing Ant buildfile" I keep getting
an error that says "c:\mydev\myproj is not a valid location for a
linked resource." Huh? What on Earth does this mean?

Since CVS seems to be the most common CM program and Ant is also wildly
popular then there should be someone out there who has done this.
Right?

Any help would be greatly appreciated.

- Ian
(e-mail address removed)
 
O

Oliver Wong

If I checkout the CVS module outside of Eclipse (using WinCVS) and then
do a "New Java project from an existing Ant buildfile" I keep getting
an error that says "c:\mydev\myproj is not a valid location for a
linked resource." Huh? What on Earth does this mean?

Did you check if the string "c:\mydev\myproj" ever appears in your Ant
file?

- Oliver
 
I

ianfeldberg

Thanks Oliver. It definitely doesn't though. My build.xml is intended
to work on both Unix and Windows so all paths are relative to the
location of it. No absolute paths are present.

BTW, an "ant build" from a DOS window works fine.

What is a "linked resource" anyway?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,228
Members
46,818
Latest member
SapanaCarpetStudio

Latest Threads

Top