Folks, Jesse gives me a very elegent solution in his maven-sablecc-plugin.
So that I can use an input file source file to create a tmp file. And use that tmp file to check for staledsource when the mojo got run again. Thanks On 8/23/05, John Casey <[EMAIL PROTECTED]> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > unique to the project, unique to a place in time, or what? I'm not sure > I understand. > > dan tran wrote: > | Hello all, > | > | In my case doing idl2java code generation, I need a way to create a > unique file > | to store timestamp. > | > | Trygvis suggests to use getClass().getResource( > | "META-INF/maven/pom.properties" ) > | > | What about execution id? > | > | Thanks > | > | > | -Dan > | > | --------------------------------------------------------------------- > | To unsubscribe, e-mail: [EMAIL PROTECTED] > | For additional commands, e-mail: [EMAIL PROTECTED] > | > | > | > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.6 (GNU/Linux) > > iD8DBQFDC2+TK3h2CZwO/4URAsy3AKCZOgqmd/W0Ru79CUH5KLUfH/nszwCeMyVZ > ot/VISCfWWNoC+Z+/PbeDW8= > =cd2S > -----END PGP SIGNATURE----- > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]