dpillot 2005/12/21 17:16:00 CET
Modified files:
core/src/java/org/jahia/services/webdav/listeners
JahiaProductionListener.java
Log:
added operation type in jobdata
Revision Changes Path
1.7 +6 -2
jahia/core/src/java/org/jahia/services/webdav/listeners/JahiaProductionListener.java
http://jahia.mine.nu:8080/cgi-bin/cvsweb.cgi/jahia/core/src/java/org/jahia/services/webdav/listeners/JahiaProductionListener.java.diff?r1=1.6&r2=1.7&f=h
Index: JahiaProductionListener.java
===================================================================
RCS file:
/home/cvs/repository/jahia/core/src/java/org/jahia/services/webdav/listeners/JahiaProductionListener.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- JahiaProductionListener.java 5 Dec 2005 14:59:48 -0000 1.6
+++ JahiaProductionListener.java 21 Dec 2005 16:16:00 -0000 1.7
@@ -27,7 +27,7 @@
* User: Rincevent
* Date: 31 août 2005
* Time: 12:24:26
- * To change this template use File | Settings | File Templates.
+ * @version $Id: JahiaProductionListener.java,v 1.7 2005/12/21 16:16:00
dpillot Exp $
*/
public class JahiaProductionListener implements WebdavListener {
private static final Logger logger =
Logger.getLogger(JahiaProductionListener.class);
@@ -116,7 +116,7 @@
jobDataMap.put("uri", uri);
jobDataMap.put("contentType","application/zip");
jobDataMap.put("copyUuid",Boolean.TRUE);
-
+ jobDataMap.put("type","production");
schedulerServ.scheduleJobNow(jobDetail);
} catch (JahiaException e) {
e.printStackTrace(); //To change body of catch statement
use File | Settings | File Templates.
@@ -157,3 +157,10 @@
public void retrieve(ContentEvent event) throws VetoException {
}
}
+
+/**
+* $Log: JahiaProductionListener.java,v $
+* Revision 1.7 2005/12/21 16:16:00 dpillot
+* added operation type in jobdata
+*
+*/
\ No newline at end of file