|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<project name="java2script" default="configure" basedir="."> |
| 3 | +<!-- IMPORTANT! |
| 4 | +
|
| 5 | +This is not a normal ant build file. You need to run it via the Eclipse |
| 6 | +AntRunner, like this Unix shell example: |
| 7 | +
|
| 8 | +# The -data $PWD is important; otherwise it will use your default |
| 9 | +# workspace and possibly clobber it, or simply fail the build. |
| 10 | +$ eclipse -clean -data $PWD -nosplash \ |
| 11 | + -application org.eclipse.ant.core.antRunner \ |
| 12 | + -buildfile build.xml \ |
| 13 | + -Dplugin.path=/usr/lib/eclipse:/usr/share/eclipse/dropins/jdt |
| 14 | +
|
| 15 | +For more details see http://help.eclipse.org/kepler/index.jsp?topic=%2Forg.eclipse.pde.doc.user%2Ftasks%2Fpde_feature_generating_antcommandline.htm |
| 16 | +--> |
| 17 | +<target name="configure"> |
| 18 | +<eclipse.buildScript elements="plugin@net.sf.j2s.core" |
| 19 | + buildDirectory="sources" |
| 20 | + pluginPath="${plugin.path}" |
| 21 | + forceContextQualifier="${forceContextQualifier}" /> |
| 22 | +<eclipse.buildScript elements="plugin@net.sf.j2s.ajax" |
| 23 | + buildDirectory="sources" |
| 24 | + pluginPath="${plugin.path}" |
| 25 | + forceContextQualifier="${forceContextQualifier}" /> |
| 26 | +<eclipse.buildScript elements="plugin@net.sf.j2s.lib" |
| 27 | + buildDirectory="sources" |
| 28 | + pluginPath="${plugin.path}" |
| 29 | + forceContextQualifier="${forceContextQualifier}" /> |
| 30 | +<eclipse.buildScript elements="plugin@net.sf.j2s.ui" |
| 31 | + buildDirectory="sources" |
| 32 | + pluginPath="${plugin.path}" |
| 33 | + forceContextQualifier="${forceContextQualifier}" /> |
| 34 | +<eclipse.buildScript elements="plugin@net.sf.j2s.ui.template.velocity" |
| 35 | + buildDirectory="incubator" |
| 36 | + pluginPath="${plugin.path}${path.separator}sources" |
| 37 | + forceContextQualifier="${forceContextQualifier}" /> |
| 38 | +<eclipse.buildScript elements="plugin@net.sf.j2s.ui.cmdline" |
| 39 | + buildDirectory="incubator" |
| 40 | + pluginPath="${plugin.path}${path.separator}sources" |
| 41 | + forceContextQualifier="${forceContextQualifier}" /> |
| 42 | +</target> |
| 43 | +</project> |
0 commit comments