Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 120 lines (105 sloc) 4.725 kB
3f14a9c @enebo git-svn-id: http://svn.codehaus.org/jruby/trunk/jruby@5453 961051c9-f…
enebo authored
1 <?xml version="1.0" encoding="UTF-8"?>
2 <project basedir="." name="netbeans-ant">
3
4 <target name="profile-gem-install-rake" depends="jar" description="Profile a local gem installation of Rake">
5 <fail unless="netbeans.home">This target can only run inside the NetBeans IDE.</fail>
a72230e @headius Modife NB debug/profile targets to prompt for command-line args.
headius authored
6
3f14a9c @enebo git-svn-id: http://svn.codehaus.org/jruby/trunk/jruby@5453 961051c9-f…
enebo authored
7 <nbprofiledirect>
a72230e @headius Modife NB debug/profile targets to prompt for command-line args.
headius authored
8 <classpath>
9 <pathelement path="${jruby.classes.dir}"/>
10 <path refid="build.classpath"/>
11 </classpath>
3f14a9c @enebo git-svn-id: http://svn.codehaus.org/jruby/trunk/jruby@5453 961051c9-f…
enebo authored
12 </nbprofiledirect>
13
14 <java classname="org.jruby.Main" maxmemory="${jruby.launch.memory}" fork="true">
15 <classpath>
16 <pathelement location="${jruby.instrumented.classes.dir}" />
17 <path refid="build.classpath"/>
18 <pathelement path="${lib.dir}/jruby.jar"/>
19 <pathelement path="${test.classes.dir}"/>
20 <pathelement path="${test.dir}/requireTest.jar"/>
21 </classpath>
22 <jvmarg value="-Djruby.home=${basedir}"/>
23 <jvmarg value="-Djruby.lib=${lib.dir}"/>
24 <jvmarg value="-Djruby.shell=/bin/sh"/>
25 <jvmarg value="-Djruby.script=jruby"/>
26 <jvmarg value="${profiler.info.jvmargs.agent}"/>
27 <arg value="bin/gem"/>
28 <arg value="install"/>
29 <arg value="lib/ruby/gems/1.8/cache/rake-0.7.1.gem"/>
30 </java>
31 </target>
32
c5a0b96 @vvs JRUBY-2674: ant -projecthelp output is incorrect
vvs authored
33 <target name="profile-rails-server" depends="jar" description="Profile the Rails server">
3f14a9c @enebo git-svn-id: http://svn.codehaus.org/jruby/trunk/jruby@5453 961051c9-f…
enebo authored
34 <fail unless="netbeans.home">This target can only run inside the NetBeans IDE.</fail>
a72230e @headius Modife NB debug/profile targets to prompt for command-line args.
headius authored
35
3f14a9c @enebo git-svn-id: http://svn.codehaus.org/jruby/trunk/jruby@5453 961051c9-f…
enebo authored
36 <nbprofiledirect>
a72230e @headius Modife NB debug/profile targets to prompt for command-line args.
headius authored
37 <classpath>
38 <pathelement path="${jruby.classes.dir}"/>
39 <path refid="build.classpath"/>
40 </classpath>
3f14a9c @enebo git-svn-id: http://svn.codehaus.org/jruby/trunk/jruby@5453 961051c9-f…
enebo authored
41 </nbprofiledirect>
42
43 <java classname="org.jruby.Main" maxmemory="${jruby.launch.memory}" fork="true">
44 <classpath>
45 <pathelement location="${jruby.instrumented.classes.dir}" />
46 <path refid="build.classpath"/>
47 <pathelement path="${lib.dir}/jruby.jar"/>
48 <pathelement path="${test.classes.dir}"/>
49 <pathelement path="${test.dir}/requireTest.jar"/>
50 </classpath>
51 <jvmarg value="-Djruby.home=${basedir}"/>
52 <jvmarg value="-Djruby.lib=${lib.dir}"/>
53 <jvmarg value="-Djruby.shell=/bin/sh"/>
54 <jvmarg value="-Djruby.script=jruby"/>
55 <jvmarg value="-Djruby.thread.pooling=true"/>
56 <jvmarg value="-server"/>
57 <jvmarg value="${profiler.info.jvmargs.agent}"/>
58 <arg value="testapp/script/server"/>
59 </java>
60 </target>
61
62 <target name="profile-nb" depends="compile" description="Profile Project">
63 <fail unless="netbeans.home">This target can only run inside the NetBeans IDE.</fail>
a72230e @headius Modife NB debug/profile targets to prompt for command-line args.
headius authored
64
65 <input message="Enter flags and args for `jruby` command:" addproperty="jruby.args"/>
3f14a9c @enebo git-svn-id: http://svn.codehaus.org/jruby/trunk/jruby@5453 961051c9-f…
enebo authored
66
67 <nbprofiledirect>
68 <classpath>
69 <pathelement path="${jruby.classes.dir}"/>
70 <path refid="build.classpath"/>
71 </classpath>
72 </nbprofiledirect>
73
74 <java classname="org.jruby.Main" maxmemory="${jruby.launch.memory}" fork="true">
75 <classpath>
76 <pathelement path="${jruby.classes.dir}"/>
77 <path refid="build.classpath"/>
78 </classpath>
be18b79 @headius Fix for JRUBY-3823: Wrong property in netbeans-ant.xml
headius authored
79 <sysproperty key="jruby.home" value="${basedir}"/>
3f14a9c @enebo git-svn-id: http://svn.codehaus.org/jruby/trunk/jruby@5453 961051c9-f…
enebo authored
80 <jvmarg value="${profiler.info.jvmargs.agent}"/>
81 <jvmarg value="-Djruby.home=${basedir}"/>
82 <jvmarg value="-Djruby.lib=${lib.dir}"/>
83 <jvmarg value="-Djruby.shell=/bin/sh"/>
84 <jvmarg value="-Djruby.script=jruby"/>
a72230e @headius Modife NB debug/profile targets to prompt for command-line args.
headius authored
85 <arg line="${jruby.args}"/>
3f14a9c @enebo git-svn-id: http://svn.codehaus.org/jruby/trunk/jruby@5453 961051c9-f…
enebo authored
86 </java>
87 </target>
88
89 <target name="debug-nb" depends="jar" description="Task for debugging JRuby within NetBeans">
90 <fail unless="netbeans.home">This target can only run inside the NetBeans IDE.</fail>
a72230e @headius Modife NB debug/profile targets to prompt for command-line args.
headius authored
91
92 <input message="Enter flags and args for `jruby` command:" addproperty="jruby.args"/>
93
3f14a9c @enebo git-svn-id: http://svn.codehaus.org/jruby/trunk/jruby@5453 961051c9-f…
enebo authored
94 <nbjpdastart addressproperty="jpda.address" name="JRuby" transport="dt_socket">
95 <classpath>
96 <pathelement path="${jruby.classes.dir}"/>
97 <path refid="build.classpath"/>
98 </classpath>
6be812c @headius Add sourcefiles line to debug target.
headius authored
99 <sourcepath path="${src.dir}"/>
3f14a9c @enebo git-svn-id: http://svn.codehaus.org/jruby/trunk/jruby@5453 961051c9-f…
enebo authored
100 </nbjpdastart>
a72230e @headius Modife NB debug/profile targets to prompt for command-line args.
headius authored
101
3f14a9c @enebo git-svn-id: http://svn.codehaus.org/jruby/trunk/jruby@5453 961051c9-f…
enebo authored
102 <java classname="org.jruby.Main" maxmemory="${jruby.launch.memory}" fork="true">
103 <classpath>
104 <pathelement path="${jruby.classes.dir}"/>
105 <path refid="build.classpath"/>
106 </classpath>
be18b79 @headius Fix for JRUBY-3823: Wrong property in netbeans-ant.xml
headius authored
107 <sysproperty key="jruby.home" value="${basedir}"/>
3f14a9c @enebo git-svn-id: http://svn.codehaus.org/jruby/trunk/jruby@5453 961051c9-f…
enebo authored
108 <jvmarg value="-Xdebug"/>
109 <jvmarg value="-Xnoagent"/>
110 <jvmarg value="-Djava.compiler=none"/>
111 <jvmarg value="-Xrunjdwp:transport=dt_socket,address=${jpda.address}"/>
112 <jvmarg value="-Djruby.home=${basedir}"/>
113 <jvmarg value="-Djruby.lib=${lib.dir}"/>
114 <jvmarg value="-Djruby.shell=/bin/sh"/>
115 <jvmarg value="-Djruby.script=jruby"/>
a72230e @headius Modife NB debug/profile targets to prompt for command-line args.
headius authored
116 <arg line="${jruby.args}"/>
3f14a9c @enebo git-svn-id: http://svn.codehaus.org/jruby/trunk/jruby@5453 961051c9-f…
enebo authored
117 </java>
118 </target>
c5a0b96 @vvs JRUBY-2674: ant -projecthelp output is incorrect
vvs authored
119 </project>
Something went wrong with that request. Please try again.