Skip to main content
summaryrefslogtreecommitdiffstats
blob: dbf5e202274249dd3f8418d23a8a8a6f01041252 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<?xml version="1.0" encoding="UTF-8"?>
<project default="RUN_FIRST_FOR_LBA" name="build">
	
	<target name="plugin_export_lba">
		<pde.exportPlugins destination="osee_server_bundles" exportSource="false" exportType="directory" 
			plugins="lba.db.connection,org.postgresql.driver,oracle.driver,org.eclipse.osee.framework.postgresql,org.eclipse.osee.framework.session.management.servlet,osee.framework.server.lookup.servlet,org.eclipse.osee.framework.core,org.eclipse.osee.framework.core.server,org.eclipse.osee.framework.oracle,org.eclipse.osee.framework.client.info.servlet,org.eclipse.osee.framework.artifact.servlet,org.eclipse.osee.framework.search.engine,org.eclipse.osee.framework.search.engine.servlet,org.eclipse.osee.framework.branch.management,org.eclipse.osee.framework.branch.management.servlet,org.eclipse.osee.framework.db.connection,org.eclipse.osee.framework.jdk.core,org.eclipse.osee.framework.logging,org.eclipse.osee.framework.resource.locator.attribute,org.eclipse.osee.framework.resource.locator.snapshot,org.eclipse.osee.framework.resource.management,org.eclipse.osee.framework.resource.management.servlet,org.eclipse.osee.framework.resource.provider.attribute,org.eclipse.osee.framework.resource.provider.common,org.eclipse.osee.framework.resource.provider.snapshot,org.eclipse.osee.framework.server.admin" useJARFormat="true"/>
	</target>
	
	<target name="plugin_export_demo">
		<pde.exportPlugins destination="osee_server_bundles" exportSource="false" exportType="directory" 
			plugins="org.eclipse.osee.demo.db.connection,derby.driver,org.eclipse.osee.framework.derby,org.postgresql.driver,org.eclipse.osee.framework.postgresql,org.eclipse.osee.framework.session.management.servlet,org.eclipse.osee.framework.server.lookup.servlet,org.eclipse.osee.framework.core,org.eclipse.osee.framework.core.server,org.eclipse.osee.framework.client.info.servlet,org.eclipse.osee.framework.search.engine,org.eclipse.osee.framework.search.engine.servlet,org.eclipse.osee.framework.artifact.servlet,org.eclipse.osee.framework.branch.management,org.eclipse.osee.framework.branch.management.servlet,org.eclipse.osee.framework.db.connection,org.eclipse.osee.framework.jdk.core,org.eclipse.osee.framework.logging,org.eclipse.osee.framework.resource.locator.attribute,org.eclipse.osee.framework.resource.locator.snapshot,org.eclipse.osee.framework.resource.management,org.eclipse.osee.framework.resource.management.servlet,org.eclipse.osee.framework.resource.provider.attribute,org.eclipse.osee.framework.resource.provider.common,org.eclipse.osee.framework.resource.provider.snapshot,org.eclipse.osee.framework.server.admin" useJARFormat="true"/>
	</target>
	
	<target name="generateconfigIni">
		<java classname="ConfigIniGeneration" failonerror="true" fork="true">
			<arg value="${basedir}/"/>
			<classpath>
				<pathelement location="buildsupport.jar"/>
				<pathelement path="${java.class.path}"/>
			</classpath>
		</java>
	</target>
	
	<target name="clean">
		<delete includeemptydirs="true">
				    <fileset dir="osee_server_bundles/configuration" includes="**/*"/>
				  </delete>
				  <delete includeemptydirs="true">
				    <fileset dir="osee_server_bundles/plugins" includes="**/*"/>
				  </delete>
	</target>
	
	<target name="RUN_FIRST_FOR_LBA">
		<antcall target="clean"/>
		<antcall target="plugin_export_lba"/>
	</target>
	
	<target name="RUN_FIRST_FOR_DEMO">
		<antcall target="clean"/>
		<antcall target="plugin_export_demo"/>
	</target>
	
	<target name="RUN_SECOND">
		<antcall target="generateconfigIni"/>
	</target>
	
</project>

Back to the top