gnu-arch-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnu-arch-users] Auto-generated source files


From: Thomas Zander
Subject: Re: [Gnu-arch-users] Auto-generated source files
Date: Mon, 13 Oct 2003 10:43:09 +0200
User-agent: KMail/1.5

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Monday 13 October 2003 10:23, Mark A. Flacy wrote:
> >>>>> "Thomas" == Thomas Zander <address@hidden> writes:
>
> Thomas>
> Thomas> Question;
>
> Thomas> In my (java) tool I generate source files from
> Thomas> graphics-designer-files.  These go in the same dir as other
> source Thomas> files, and into the normal build process.
>
> Well, that's the start of your problems right there.  We don't do that
> at work and we're a ClearCase shop.

I don't really know what a ClearCase shop is (my collegue thought you made 
transparent (mac-like) computer cases -- LOL), but I'll take your word it 
is something of high-standing.

> Write the autogenerated stuff to another directory and add that directory
> to your javac source path via the "-sourcepath <path>" option.

Thats not wanted; the tool creates .java files; I have to extend from them. 
I re-use member variables from the generated file. I really like to be able 
to open that file in my editor next to the extending class.  It makes it a 
lot harder when I have to go to a seperate dir.
Suffice to say; moving the files out is not an option.

> (If you also write your .class files in the same directories as your
> source files, that's another bad idea. 
Offcource I don't :)

Is it possible to add multiple lines for the 'junk' target in the 
{arch}/=tagging-method file ?
That would be the easiest solution; but something similar like .cvsignore 
files would also be fine.

- -- 
Thomas Zander
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE/imWgCojCW6H2z/QRAkkXAJsEfIyQ8Bmmg71vgZn4pi0plL9iEACglM7e
kx97Eaihk2lCUsSmcln5JfM=
=UicN
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]