Author: rfelden
Date: Thu Jul 19 17:13:34 2007
New Revision: 8
URL: https://svndev.jahia.net/websvn/listing.php?sc=3D1&rev=3D8&repname=3Df=
ix_create
Log:
bug fix : .java copied along with .class
Modified:
trunk/fixcreator/src/main/java/org/jahia/fixcreator/controller/MyContro=
ller.java
Modified: trunk/fixcreator/src/main/java/org/jahia/fixcreator/controller/My=
Controller.java
URL: https://svndev.jahia.net/websvn/diff.php?path=3D/trunk/fixcreator/src/=
main/java/org/jahia/fixcreator/controller/MyController.java&rev=3D8&repname=
=3Dfix_create
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
--- trunk/fixcreator/src/main/java/org/jahia/fixcreator/controller/MyContro=
ller.java (original)
+++ trunk/fixcreator/src/main/java/org/jahia/fixcreator/controller/MyContro=
ller.java Thu Jul 19 17:13:34 2007
@@ -1480,6 +1480,9 @@
* @throws IOException copy error
*/
private boolean copyUsingRawBinding(String path, File oldVersion, Bind=
ing currentBinding) throws IOException {
+ // bypass if the file is a source file (avoid duplicate with "incl=
ude source option")
+ if (path.endsWith(".java")) return true ;
+
boolean result =3D true ;
=
// build the binded path
_______________________________________________
cvs_list mailing list
[email protected]
http://lists.jahia.org/cgi-bin/mailman/listinfo/cvs_list