Revision: 3986
          http://vexi.svn.sourceforge.net/vexi/?rev=3986&view=rev
Author:   mkpg2
Date:     2010-12-22 03:10:38 +0000 (Wed, 22 Dec 2010)

Log Message:
-----------
Fix. PreprocessorBuilder last modification logic was backwards. Running on 
older not newer jpp files.

Modified Paths:
--------------
    
trunk/org.vexi-build.jpp/src/main/java/org/vexi/build/jpp/PreprocessorBuilder.java
    trunk/org.vexi-library.js/src/main/jpp/org/vexi/js/VexiJS.jpp

Modified: 
trunk/org.vexi-build.jpp/src/main/java/org/vexi/build/jpp/PreprocessorBuilder.java
===================================================================
--- 
trunk/org.vexi-build.jpp/src/main/java/org/vexi/build/jpp/PreprocessorBuilder.java
  2010-12-21 17:30:22 UTC (rev 3985)
+++ 
trunk/org.vexi-build.jpp/src/main/java/org/vexi/build/jpp/PreprocessorBuilder.java
  2010-12-22 03:10:38 UTC (rev 3986)
@@ -76,7 +76,7 @@
                         File out = new File(genDir, relativeOut);
 
                         logger.log("   .jpp  " + in.getCanonicalPath());
-                        if (!out.exists() || (out.lastModified() > 
in.lastModified())){
+                        if (!out.exists() || (out.lastModified() < 
in.lastModified())){
                             logger.log("-> .java " + out.getCanonicalPath());
                             out.getParentFile().mkdirs();
                             Writer writer = new FileWriter(out);

Modified: trunk/org.vexi-library.js/src/main/jpp/org/vexi/js/VexiJS.jpp
===================================================================
--- trunk/org.vexi-library.js/src/main/jpp/org/vexi/js/VexiJS.jpp       
2010-12-21 17:30:22 UTC (rev 3985)
+++ trunk/org.vexi-library.js/src/main/jpp/org/vexi/js/VexiJS.jpp       
2010-12-22 03:10:38 UTC (rev 3986)
@@ -736,7 +736,7 @@
     static public JS new_xmlwriter(JS[] args) throws JSExn {
         JSU.checkArgs(args, Fountain.ARGTYPES_afountain);
         try {
-            final BufferedWriter out = new 
BufferedWriter(OutputStreamWriter(JSU.getOutputStream(args[0])));
+            final BufferedWriter out = new BufferedWriter(new 
OutputStreamWriter(JSU.getOutputStream(args[0])));
             JS writer = new JS.Immutable() {
                 Stack stack = new Basket.Array();
                 


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Forrester recently released a report on the Return on Investment (ROI) of
Google Apps. They found a 300% ROI, 38%-56% cost savings, and break-even
within 7 months.  Over 3 million businesses have gone Google with Google Apps:
an online email calendar, and document program that's accessible from your 
browser. Read the Forrester report: http://p.sf.net/sfu/googleapps-sfnew
_______________________________________________
Vexi-svn mailing list
Vexi-svn@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vexi-svn

Reply via email to