Author: keith
Date: Tue Jan 15 22:16:50 2008
New Revision: 12307

Log:

Adding the path of the js file as a property to the resource



Modified:
   
trunk/mashup/java/modules/javascriptdeployer/src/org/wso2/mashup/deployer/JSDeployer.java

Modified: 
trunk/mashup/java/modules/javascriptdeployer/src/org/wso2/mashup/deployer/JSDeployer.java
==============================================================================
--- 
trunk/mashup/java/modules/javascriptdeployer/src/org/wso2/mashup/deployer/JSDeployer.java
   (original)
+++ 
trunk/mashup/java/modules/javascriptdeployer/src/org/wso2/mashup/deployer/JSDeployer.java
   Tue Jan 15 22:16:50 2008
@@ -481,6 +481,7 @@
             if (faulty) {
                 resource1.setProperty(MashupConstants.FAULTY_MASHUP, "true");
             }
+            resource1.setProperty(JavaScriptEngineConstants.SERVICE_JS, 
file.getAbsolutePath());
             // store it in a non existence path
             String path1 = "/mashups/" + username + "/" + name;
             secureRegistry.put(path1, resource1);

_______________________________________________
Mashup-dev mailing list
[email protected]
http://www.wso2.org/cgi-bin/mailman/listinfo/mashup-dev

Reply via email to