Steve Brewin wrote:
>
> Andrew Sykes wrote:
> >
> >
> > It would be good if a .classpath could be added to the
> > repository to aid
> > importing into Eclipse.
>
> This would only be viable if everyone committing code was
> using Eclipse,
> thereby guaranteeing that the current .classpath was correct.
> No guarantee
> of that.
>
> Maybe someone knows of, or can conjure up, an Ant task that updates
> .classpath with the current contents the lib directories?

A quick google reveals a few Ant tasks that generate an Eclipse .classpath
file from the the class <paths/> used by the <javac/> task. When I get a
moment I will give them a whirl.

Interestingly, there are rather more that go the other way around and
generate Ant class <paths/> from an Eclipse .classpath file. Not what we
want as the sole authorative source should be the <paths/> used in the Ant
build.

-- Steve




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to