Rev 2018 | 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> |
||
2049 | es | 25 | <fileset dir="lib/json"> |
26 | <include name="*.jar" /> |
||
27 | </fileset> |
||
2009 | es | 28 | <fileset dir="lib/hibernate/mysql"> |
29 | <include name="*.jar" /> |
||
30 | </fileset> |
||
31 | <fileset dir="lib/dom4j"> |
||
32 | <include name="*.jar" /> |
||
33 | </fileset> |
||
34 | <fileset dir="lib/commons"> |
||
35 | <include name="*.jar" /> |
||
36 | </fileset> |
||
37 | <fileset dir="lib/aspectj"> |
||
38 | <include name="*.jar" /> |
||
39 | </fileset> |
||
40 | </path> |
||
41 | |||
2018 | es | 42 | |
2009 | es | 43 | <taskdef name="hibernatetool" |
2018 | es | 44 | classname="org.hibernate.tool.ant.HibernateToolTask" |
45 | classpathref="pathref" classpath="${build.dir.classes}"/> |
||
46 | |||
2009 | es | 47 | <taskdef name="schemaupdate" |
2018 | es | 48 | classname="org.hibernate.tool.hbm2ddl.SchemaUpdateTask" |
49 | classpathref="pathref" classpath="${build.dir.classes}"/> |
||
2009 | es | 50 | |
51 | <!--<taskdef name="tomcat.deploy" classname="org.apache.catalina.ant.DeployTask" classpathref="pathref" />--> |
||
52 | <!--<taskdef name="tomcat.undeploy" classname="org.apache.catalina.ant.UndeployTask" classpathref="pathref" />--> |
||
53 | <!--<taskdef name="tomcat.reload" classname="org.apache.catalina.ant.ReloadTask" classpathref="pathref" />--> |
||
54 | <!--<taskdef name="tomcat.start" classname="org.apache.catalina.ant.StartTask" classpathref="pathref" />--> |
||
55 | <!--<taskdef name="tomcat.stop" classname="org.apache.catalina.ant.StopTask" classpathref="pathref" />--> |
||
2049 | es | 56 | <!--<taskdef name="tomcat.install" classname="org.apache.catalina.ant.InstallTask" classpathref="pathref"/>--> |
2009 | es | 57 | |
2049 | es | 58 | <!--<!–--> |
59 | <!--<property name="user" value="${tomcat.user}"/>--> |
||
2009 | es | 60 | <!--<property name="pass" value="${tomcat.pass}"/>--> |
61 | <!--–>--> |
||
62 | <!--<property name="user" value="admin"/>--> |
||
63 | <!--<property name="pass" value="admin"/>--> |
||
64 | <!----> |
||
65 | |||
2049 | es | 66 | <!--<target name="tomcat.deployContext" depends="build.war">--> |
67 | <!--<echo message="${tomcat.manager} username: ${user} password: ${pass}"/>--> |
||
68 | <!--<tomcat.install url="${tomcat.manager}" path="${tomcat.context.path.install}"--> |
||
69 | <!--config="file://${basedir}/build/ant/project.xml"--> |
||
70 | <!--username="${user}" password="${pass}" />--> |
||
71 | <!--</target>--> |
||
72 | <!--<target name="tomcat.redeployContext" depends="tomcat.undeploy,build.war" >--> |
||
73 | <!--<echo message="${tomcat.manager}"/>--> |
||
74 | <!--<tomcat.install url="${tomcat.manager}" path="${tomcat.context.path.install}"--> |
||
75 | <!--config="file:/${basedir}/build/ant/project.xml"--> |
||
76 | <!--username="${user}" password="${pass}" />--> |
||
77 | <!--</target>--> |
||
78 | <!----> |
||
79 | <!--<target name="tomcat.deploy" depends="build.war" >--> |
||
80 | <!--<echo message="${tomcat.manager}"/>--> |
||
81 | <!--<tomcat.deploy url="${tomcat.manager}" path="${tomcat.context.path.install}"--> |
||
82 | <!--war="file:/${basedir}/build/ant/${tomcat.war.filename}"--> |
||
83 | <!--username="${user}" password="${pass}" />--> |
||
84 | <!--</target>--> |
||
85 | <!--<target name="tomcat.redeploy" depends="tomcat.undeploy,build.war">--> |
||
86 | <!--<echo message="${tomcat.manager}"/>--> |
||
87 | <!--<tomcat.deploy url="${tomcat.manager}" path="${tomcat.context.path.install}"--> |
||
88 | <!--war="file:/${basedir}/build/ant/${tomcat.war.file}"--> |
||
89 | <!--username="${user}" password="${pass}" />--> |
||
90 | <!--</target>--> |
||
91 | <!--<target name="tomcat.undeploy">--> |
||
92 | <!--<echo message="${tomcat.manager}"/>--> |
||
93 | <!--<tomcat.undeploy url="${tomcat.manager}" path="${tomcat.context.path.install}"--> |
||
94 | <!--username="${user}" password="${pass}" />--> |
||
95 | <!--</target>--> |
||
96 | <!--<target name="tomcat.reload">--> |
||
97 | <!--<echo message="${tomcat.manager}"/>--> |
||
98 | <!--<tomcat.reload url="${tomcat.manager}" path="${tomcat.context.path.install}"--> |
||
99 | <!--username="${user}" password="${pass}" />--> |
||
100 | <!--</target>--> |
||
101 | <!--<target name="tomcat.start">--> |
||
102 | <!--<echo message="${tomcat.manager}"/>--> |
||
103 | <!--<tomcat.start url="${tomcat.manager}" path="${tomcat.context.path.install}"--> |
||
104 | <!--username="${user}" password="${pass}" />--> |
||
105 | <!--</target>--> |
||
106 | <!--<target name="tomcat.stop">--> |
||
107 | <!--<echo message="${tomcat.manager}"/>--> |
||
108 | <!--<tomcat.stop url="${tomcat.manager}" path="${tomcat.context.path.install}"--> |
||
109 | <!--username="${user}" password="${pass}" />--> |
||
110 | <!--</target>--> |
||
2009 | es | 111 | |
112 | |||
113 | </project> |