Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.

Ticket #855: xp.diff

File xp.diff, 2.2 KB (added by jmoore, 16 years ago)

Oops. Can't attach as omero user. Then as Josh.

  • components/app/build.xml

     
    55<!-- ======================================================================= --> 
    66 
    77<project name="app" default="help" basedir="."> 
    8  
     8 
    99    <property name="import.dir" value="${basedir}/../antlib/resources"/> 
    1010    <import file="${import.dir}/global.xml"/> 
    1111    <import file="${import.dir}/dependencies.xml"/> 
     
    1313    <import file="${import.dir}/hibernate.xml"/> 
    1414    <import file="${import.dir}/server.xml"/> 
    1515    <import file="${import.dir}/setup.xml"/> 
     16 
     17    <!-- Reseting classpaths to empty to allow ant to delete the 
     18         jars on windows. See ticket:855 --> 
     19    <path id="omero.compile.classpath"/> 
     20    <path id="omero.classpath"/> 
     21    <path id="omero.test.classpath"/> 
    1622 
    1723   <!-- 
    1824   ======================================================================= 
     
    2329   --> 
    2430   <target name="package" depends="generate" 
    2531           description="Packages the EAR by assembling all modules and deployment descriptors"> 
    26        
     32       
    2733      <delete> 
    2834        <fileset dir="${target.dir}/libs" includes="commons-logging*"/> 
    2935        <fileset dir="${target.dir}/libs" includes="jboss*"/> 
  • components/dsl/src/ome/dsl/DSLTask.java

     
    110110                    String className = st.getShortname(); 
    111111                    String packageName = st.getId(); 
    112112                    packageName = packageName.substring(0, packageName 
    113                             .lastIndexOf(".")); 
    114                     packageName = packageName.replaceAll("[.]", File.separator); 
     113                            .lastIndexOf(".")); 
     114                    // What silliness! 
     115                    String sep = File.separator.replaceAll("\\\\","\\\\\\\\"); 
     116                    packageName = packageName.replaceAll("[.]", sep); 
    115117 
    116118                    String target = _filepattern; 
    117119                    target = target.replace(CLS_PLACEHOLDER, className); 

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.8319 sec.)

We're Hiring!