Skip to content

Commit

Permalink
[MJAVACC-23] some missing lines from the previous patch application, …
Browse files Browse the repository at this point in the history
…submitted by paul geir

git-svn-id: file:///home/tiste/MOJOHAUS-TO-GIT/SVN-MOJO-WIP/trunk/mojo/javacc-maven-plugin@5340 52ab4f32-60fc-0310-b215-8acea882cd1b
  • Loading branch information
jmcc0nn3ll committed Oct 12, 2007
1 parent dbdd112 commit 47b3038
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/org/codehaus/mojo/javacc/JavaCCMojo.java
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,8 @@ public void execute() throws MojoExecutionException
{
org.javacc.parser.Main.mainProgram( generateJavaCCArgumentList( javaccFile.getAbsolutePath() ) );

FileUtils.copyFileToDirectory( javaccFile, new File( timestampDirectory ) );
String timestampFilePath = javaccFile.getAbsolutePath().replace(sourceDirectory, "");
FileUtils.copyFile(javaccFile, new File(timestampDirectory + File.separator + timestampFilePath));
}
catch ( Exception e )
{
Expand Down

0 comments on commit 47b3038

Please sign in to comment.