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.
File xp.diff,
2.2 KB
(added by jmoore, 16 years ago) |
Oops. Can't attach as omero user. Then as Josh.
|
-
|
|
|
5 | 5 | <!-- ======================================================================= --> |
6 | 6 | |
7 | 7 | <project name="app" default="help" basedir="."> |
8 | | |
| 8 | |
9 | 9 | <property name="import.dir" value="${basedir}/../antlib/resources"/> |
10 | 10 | <import file="${import.dir}/global.xml"/> |
11 | 11 | <import file="${import.dir}/dependencies.xml"/> |
… |
… |
|
13 | 13 | <import file="${import.dir}/hibernate.xml"/> |
14 | 14 | <import file="${import.dir}/server.xml"/> |
15 | 15 | <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"/> |
16 | 22 | |
17 | 23 | <!-- |
18 | 24 | ======================================================================= |
… |
… |
|
23 | 29 | --> |
24 | 30 | <target name="package" depends="generate" |
25 | 31 | description="Packages the EAR by assembling all modules and deployment descriptors"> |
26 | | |
| 32 | |
27 | 33 | <delete> |
28 | 34 | <fileset dir="${target.dir}/libs" includes="commons-logging*"/> |
29 | 35 | <fileset dir="${target.dir}/libs" includes="jboss*"/> |
-
|
|
|
110 | 110 | String className = st.getShortname(); |
111 | 111 | String packageName = st.getId(); |
112 | 112 | 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); |
115 | 117 | |
116 | 118 | String target = _filepattern; |
117 | 119 | target = target.replace(CLS_PLACEHOLDER, className); |
Download in other formats:
1.3.13-PRO © 2008-2011
Agilo Software all
rights reserved
(this page was served in: 0.8319 sec.)