Leif Frenzel wrote:
Eclipse does IMHO a *massively* stupid thing. It _automagically_
picks up my _darcs dir in my project workspace and tries to compile
all the .c files in it. So the moment I add darcs support to my new
project I get loads of duplicate symbols. I've seen some bonehead
IDE's but thats way up there in the list.
So you think there is a way to decide in general which files that may
arrive in a project are of interest for the user and which are not? And
it is so obvious that every IDE that doesn't manage to do so must be
stupid ... Very interesting. On the other hand, it doesn't exactly help
No thats the point. There is no _general_ way for a IDE to determine
what .c files in my tree are valid to my project. Only the programmer
can decide this. Thats what a project is for. To list the files valid
for that project.
User initiated autogeneration of things is all fine and good and useful.
What I found totally unaccptable was that the setup automaticlly
picked up files I added in the directory by a different tool. It gave
me no info that it was going to do this and no chance to cancel the
operation. Suddenly my build was totally broken. At least it showed
the _darcs appearing in my tree so it was easy to diagnose.
I generally have lots of .c files that I don't want in the project.
Examples of things, hardware test code, previous revs. Its seems I
can't stick them anywhere near the project or they will get sucked up
into it.
I can't see any options yet to make eclipse ignore the _darcs dir or
not auto pickup stuff.
Window > Preferences > General > Workspace > uncheck 'Build automatically'.
Not the right option. (My options are slightly differnt but close
enough) I know about autobuilding and its off. But this is dynamically
changing the makefile.
Eclipse is not an IDE, but a platform on top of which different IDEs
work. The IDEs are responsible for providing an option to exclude
Yes. I see this now so Altera is who I need to go whine at.
Last but not least, you can make Eclipse Darcs-aware by installing a
plugin that knows about Darcs and its metadata
(http://eclipsedarcs.org). The plugin is still in a beta stage, which
Looks very nice but so far all I get is "An error has occured." and it
tells me to go look at the log file. Haven't found the log file yet.
Thats for another list though...
--
Richard A. Smith
Bitworks, Inc
_______________________________________________
darcs-users mailing list
[email protected]
http://www.abridgegame.org/mailman/listinfo/darcs-users