[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[Subclipse-users] eclipse + subeclipse + javacc - ingoring auto-generated java code.

From: David A. Lee <dlee_at_calldei.com>
Date: Mon, 7 Jul 2008 07:35:13 -0400

I have Eclipse 3.3 with SVN plug-in 1.2.4
I'm not sure if this problem is with eclipse, svn or javacc so I'm starting here ... please excuse my ignorance.

I have a javacc file (.jj) which auto-generates 6 java files. I checked in all the files into svn, which is what I want.
(I want to keep the generated files in svn so users don't need to use javacc to build the project).
Today I noticed that 3 of the files in SVN are out of date. Looking in Eclipse I see 3 of them were marked as if they
were never added to svn, so I tried to add them through eclipse+svn. I got an error back from the svn server saying
that the files were already in svn. But eclipse wont show me any properties or menus, its acting like the files
are not in svn. On the package navigator window, they are decorated with the name of the .jj file that built them,
somehow the system knows where these files came from, and I'm presuming some code some where is trying to be "smart"
and not let me check them in. Too smart :( I want them checked in and managed when I use the Team Synchronize.

So I went to the command line svn tool and was able to check in the latest version. This indicates that command line svn,
as well as the svn server have no special knowledge of these files (I.e. they are not in any "ignore" list).

Any suggestions on how I can turn off whatever "smart mode" is going on in Eclipse/SVN and let these files be managed
like all the other files ?

Thanks for any advise !

David A. Lee
Received on 2008-07-07 13:35:38 CEST

This is an archived mail posted to the Subclipse Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.