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

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

From: Acheson, Douglas <douglas.acheson_at_rbc.com>
Date: Mon, 7 Jul 2008 08:29:11 -0400

I have the same problem - look for the thread I started about RAD 7. I am working on a patch/fix (that will submit back) to compensate for this. Plz read the thread and let me know if it is the same for u (i.e. derived)

Douglas WF Acheson

----- Original Message -----
From: David A. Lee <dlee_at_calldei.com>
To: users_at_subclipse.tigris.org <users_at_subclipse.tigris.org>
Sent: Mon Jul 07 07:35:13 2008
Subject: [Subclipse-users] eclipse + subeclipse + javacc - ingoring auto-generated java code.

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
dlee_at_calldei.com
http://www.calldei.com
_______________________________________________________________________

This e-mail may be privileged and/or confidential, and the sender does not waive any related rights and obligations.
Any distribution, use or copying of this e-mail or the information it contains by other than an intended recipient is unauthorized.
If you received this e-mail in error, please advise me (by return e-mail or otherwise) immediately.

Ce courrier électronique est confidentiel et protégé. L'expéditeur ne renonce pas aux droits et obligations qui s'y rapportent.
Toute diffusion, utilisation ou copie de ce message ou des renseignements qu'il contient par une personne autre que le (les) destinataire(s) désigné(s) est interdite.
Si vous recevez ce courrier électronique par erreur, veuillez m'en aviser immédiatement, par retour de courrier électronique ou par un autre moyen.
Received on 2008-07-07 14:36:04 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.