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