~andre-dau/jhelioviewer/welcome

« back to all changes in this revision

Viewing changes to build.xml

  • Committer: Helge Dietert
  • Date: 2010-07-21 20:16:07 UTC
  • mfrom: (191.1.2 vsoGUI)
  • Revision ID: helge@clem.local-20100721201607-qb8dywd6t1o9bg4a
Suppress axis debug logs and add suppressWarnings when it cannot be changed

Show diffs side-by-side

added added

removed removed

Lines of Context:
39
39
                        </classpath>
40
40
                        <arg line="-o vso/src vso/sdacVSOi_strict.wsdl"/>
41
41
                </java>
 
42
                <replace dir="vso/src/org/virtualsolar/VSO/VSOi" token="public class" value='@SuppressWarnings("all") public class'>
 
43
                        <include name="*.java"/>
 
44
                </replace>
42
45
        </target>
43
46
        
44
47
        <target name="compile" depends="precompile" >
64
67
                        <src path="viewmodelplugin/src/" />
65
68
                        <src path="webbackend/src/" />
66
69
            <exclude name="**/JavaHelioViewerLauncher.java"/>
67
 
                </javac>
 
70
                </javac>
 
71
                <!-- Copy, remove the suppress warning and compile-->
 
72
                <mkdir dir="bin/tempSource/org/helioviewer/jhv"/>
 
73
                <copy file="jhv/src/org/helioviewer/jhv/JavaHelioViewerLauncher.java" tofile="bin/tempSource/org/helioviewer/jhv/JavaHelioViewerLauncher.java"/>
 
74
                <replace file="bin/tempSource/org/helioviewer/jhv/JavaHelioViewerLauncher.java" token='@SuppressWarnings("all")'/>
68
75
                <javac destdir="bin/jhv" target="1.2" source="1.2">
69
 
                        <src path="jhv/src/" />
 
76
                        <src path="bin/tempSource/" />
70
77
            <include name="**/JavaHelioViewerLauncher.java"/>
71
78
                </javac>
72
79
    </target>