Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

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