Show
Ignore:
Timestamp:
12/06/06 13:18:47 (2 years ago)
Author:
BradNeuberg
Message:

Bug fix for 2128: Support Dojo Storage when loaded from file:// or chrome:// URLs with a FileStorageProvider?; works for Internet Explorer and Firefox, QAed on IE 6, IE 7, Firefox 1.5, and Firefox 2 on Mac OS X, Ubuntu Linux, and Windows XP - tested on Safari to make sure does not break existing functionality for http:// URLs

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/buildscripts/build.xml

    r6717 r6832  
    592592                        <fileset dir="${root}/"> 
    593593                                <include name="**/*.swf" /> 
     594                                <include name="*.jar" /> 
    594595                        </fileset> 
    595596                </copy> 
     
    766767                ]]> 
    767768                </script> 
     769                 
     770                <!--  
     771                        Generate optional Java class needed for Safari and Opera 
     772                        for dojo.storage.browser.FileStorageProvider 
     773                --> 
     774                <antcall target="buildFileStorageProvider" /> 
    768775 
    769776                <antcall target="-docs-and-tests" /> 
     
    813820        </target> 
    814821        <!-- end tar task --> 
     822         
     823        <!-- buildFileStorageProvider task --> 
     824        <target name="buildFileStorageProvider" 
     825                        description="Builds a Java class needed by dojo.storage.browser.FileStorageProvider"> 
     826                <echo> 
     827Building optional Java class for dojo.storage.browser.FileStorageProvider. Don't 
     828worry if this fails; the generated class file is checked into Subversion and is 
     829available in src/storage/java/ without rebuilding it. 
     830                </echo>          
     831                 
     832                <javac  srcdir="${root}/src/storage/java/" 
     833                                destdir="${root}/src/storage/java/" 
     834                                debug="on" 
     835                                target="1.1" 
     836                                source="1.1" 
     837                                failonerror="false"/> 
     838                                 
     839                <jar destfile="${root}/DojoFileStorageProvider.jar"> 
     840                    <fileset dir="${root}/src/storage/java/" 
     841                             includes="*.class"/> 
     842                 </jar> 
     843        </target> 
     844        <!-- end buildFileStorageProvider task --> 
    815845 
    816846        <!-- buildDojoFlash task -->