Rev 2009 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
2009 | es | 1 | <?xml version="1.0"?> |
2018 | es | 2 | |
2009 | es | 3 | <project name="Hibernate-LIBS" basedir="."> |
4 | |||
5 | |||
2018 | es | 6 | <property file="local.properties"/> |
2009 | es | 7 | <property file="build.properties"/> |
8 | |||
9 | <path id="pathref"> |
||
2018 | es | 10 | <fileset dir="lib/struts"> |
11 | <include name="*.jar" /> |
||
12 | </fileset> |
||
2009 | es | 13 | <fileset dir="${tomcat.common.lib}"> |
14 | <include name="*.jar" /> |
||
15 | </fileset> |
||
16 | <fileset dir="${tomcat.server.lib}"> |
||
17 | <include name="*.jar" /> |
||
18 | </fileset> |
||
19 | <fileset dir="lib/hibernate/hibernate3"> |
||
20 | <include name="*.jar" /> |
||
21 | </fileset> |
||
22 | <fileset dir="lib/log4j"> |
||
23 | <include name="*.jar" /> |
||
24 | </fileset> |
||
25 | <fileset dir="lib/hibernate/mysql"> |
||
26 | <include name="*.jar" /> |
||
27 | </fileset> |
||
28 | <fileset dir="lib/dom4j"> |
||
29 | <include name="*.jar" /> |
||
30 | </fileset> |
||
31 | <fileset dir="lib/commons"> |
||
32 | <include name="*.jar" /> |
||
33 | </fileset> |
||
34 | <fileset dir="lib/aspectj"> |
||
35 | <include name="*.jar" /> |
||
36 | </fileset> |
||
37 | </path> |
||
38 | |||
2018 | es | 39 | |
2009 | es | 40 | <taskdef name="hibernatetool" |
2018 | es | 41 | classname="org.hibernate.tool.ant.HibernateToolTask" |
42 | classpathref="pathref" classpath="${build.dir.classes}"/> |
||
43 | |||
2009 | es | 44 | <taskdef name="schemaupdate" |
2018 | es | 45 | classname="org.hibernate.tool.hbm2ddl.SchemaUpdateTask" |
46 | classpathref="pathref" classpath="${build.dir.classes}"/> |
||
2009 | es | 47 | |
48 | <!--<taskdef name="tomcat.deploy" classname="org.apache.catalina.ant.DeployTask" classpathref="pathref" />--> |
||
49 | <!--<taskdef name="tomcat.undeploy" classname="org.apache.catalina.ant.UndeployTask" classpathref="pathref" />--> |
||
50 | <!--<taskdef name="tomcat.reload" classname="org.apache.catalina.ant.ReloadTask" classpathref="pathref" />--> |
||
51 | <!--<taskdef name="tomcat.start" classname="org.apache.catalina.ant.StartTask" classpathref="pathref" />--> |
||
52 | <!--<taskdef name="tomcat.stop" classname="org.apache.catalina.ant.StopTask" classpathref="pathref" />--> |
||
2018 | es | 53 | <!--<taskdef name="tomcat.install" classname="org.apache.catalina.ant.InstallTask" classpathref="pathref"/>--> |
2009 | es | 54 | |
2018 | es | 55 | <!--<!–--> |
56 | <!--<property name="user" value="${tomcat.user}"/>--> |
||
2009 | es | 57 | <!--<property name="pass" value="${tomcat.pass}"/>--> |
58 | <!--–>--> |
||
59 | <!--<property name="user" value="admin"/>--> |
||
60 | <!--<property name="pass" value="admin"/>--> |
||
61 | <!----> |
||
62 | |||
2018 | es | 63 | <!--<target name="tomcat.deployContext" depends="build.war">--> |
64 | <!--<echo message="${tomcat.manager} username: ${user} password: ${pass}"/>--> |
||
65 | <!--<tomcat.install url="${tomcat.manager}" path="${tomcat.context.path.install}"--> |
||
66 | <!--config="file://${basedir}/build/ant/project.xml"--> |
||
67 | <!--username="${user}" password="${pass}" />--> |
||
68 | <!--</target>--> |
||
69 | <!--<target name="tomcat.redeployContext" depends="tomcat.undeploy,build.war" >--> |
||
70 | <!--<echo message="${tomcat.manager}"/>--> |
||
71 | <!--<tomcat.install url="${tomcat.manager}" path="${tomcat.context.path.install}"--> |
||
72 | <!--config="file:/${basedir}/build/ant/project.xml"--> |
||
73 | <!--username="${user}" password="${pass}" />--> |
||
74 | <!--</target>--> |
||
75 | <!----> |
||
76 | <!--<target name="tomcat.deploy" depends="build.war" >--> |
||
77 | <!--<echo message="${tomcat.manager}"/>--> |
||
78 | <!--<tomcat.deploy url="${tomcat.manager}" path="${tomcat.context.path.install}"--> |
||
79 | <!--war="file:/${basedir}/build/ant/${tomcat.war.filename}"--> |
||
80 | <!--username="${user}" password="${pass}" />--> |
||
81 | <!--</target>--> |
||
82 | <!--<target name="tomcat.redeploy" depends="tomcat.undeploy,build.war">--> |
||
83 | <!--<echo message="${tomcat.manager}"/>--> |
||
84 | <!--<tomcat.deploy url="${tomcat.manager}" path="${tomcat.context.path.install}"--> |
||
85 | <!--war="file:/${basedir}/build/ant/${tomcat.war.file}"--> |
||
86 | <!--username="${user}" password="${pass}" />--> |
||
87 | <!--</target>--> |
||
88 | <!--<target name="tomcat.undeploy">--> |
||
89 | <!--<echo message="${tomcat.manager}"/>--> |
||
90 | <!--<tomcat.undeploy url="${tomcat.manager}" path="${tomcat.context.path.install}"--> |
||
91 | <!--username="${user}" password="${pass}" />--> |
||
92 | <!--</target>--> |
||
93 | <!--<target name="tomcat.reload">--> |
||
94 | <!--<echo message="${tomcat.manager}"/>--> |
||
95 | <!--<tomcat.reload url="${tomcat.manager}" path="${tomcat.context.path.install}"--> |
||
96 | <!--username="${user}" password="${pass}" />--> |
||
97 | <!--</target>--> |
||
98 | <!--<target name="tomcat.start">--> |
||
99 | <!--<echo message="${tomcat.manager}"/>--> |
||
100 | <!--<tomcat.start url="${tomcat.manager}" path="${tomcat.context.path.install}"--> |
||
101 | <!--username="${user}" password="${pass}" />--> |
||
102 | <!--</target>--> |
||
103 | <!--<target name="tomcat.stop">--> |
||
104 | <!--<echo message="${tomcat.manager}"/>--> |
||
105 | <!--<tomcat.stop url="${tomcat.manager}" path="${tomcat.context.path.install}"--> |
||
106 | <!--username="${user}" password="${pass}" />--> |
||
107 | <!--</target>--> |
||
2009 | es | 108 | |
109 | |||
110 | </project> |