Skip to content

Commit

Permalink
Download org.graalvm.tools:profiler:19.0.0 from Maven central repository
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaroslav Tulach committed Jun 18, 2019
1 parent e8475a8 commit f1aed1b
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 2 deletions.
11 changes: 10 additions & 1 deletion visualvm/sampler.truffle/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,21 @@
<description>Builds, tests, and runs the project org.graalvm.visualvm.sampler.</description>
<import file="nbproject/build-impl.xml"/>

<target name="compile-lib" depends="init">
<target name="download-lib" depends="init">
<downloadbinaries>
<manifest dir="external">
<include name="binaries-list"/>
</manifest>
</downloadbinaries>
</target>

<target name="compile-lib" depends="init,download-lib">
<mkdir dir="${build.dir}/lib-classes" />
<javac srcdir="libsrc" destdir="${build.dir}/lib-classes" deprecation="${build.compiler.deprecation}" debug="${build.compiler.debug}" source="1.7">
<classpath>
<pathelement path="${lib.cp}"/>
</classpath>
<classpath refid="cp"/>
</javac>
<copy todir="${build.dir}/lib-classes">
<fileset dir="libsrc" excludes="${jar-excludes}" />
Expand Down
1 change: 1 addition & 0 deletions visualvm/sampler.truffle/external/binaries-list
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0CE98A7DD6DE15CD90067923D0A3C58180277EBF org.graalvm.tools:profiler:19.0.0
Binary file not shown.
2 changes: 1 addition & 1 deletion visualvm/sampler.truffle/nbproject/project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ javac.compilerargs=-Xlint -Xlint:-serial
license.file=../../visualvm/startup/src/org/graalvm/visualvm/modules/startup/LICENSE.txt
nbm.homepage=https://visualvm.github.io
nbm.module.author=Tomas Hurka, Jiri Sedlacek
lib.cp=${nbjdk.home}/jre/lib/truffle/truffle-api.jar:${nbjdk.home}/jre/tools/profiler/truffle-profiler.jar
lib.cp=${basedir}/external/profiler-19.0.0.jar
extra.module.files=modules/ext/stagent.jar
cp.extra=${tools.jar}
10 changes: 10 additions & 0 deletions visualvm/sampler.truffle/nbproject/project.xml
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,16 @@
<specification-version>9.8</specification-version>
</run-dependency>
</dependency>
<dependency>
<code-name-base>org.netbeans.libs.truffleapi</code-name-base>
<build-prerequisite/>
<compile-dependency/>
</dependency>
<dependency>
<code-name-base>org.netbeans.libs.graalsdk</code-name-base>
<build-prerequisite/>
<compile-dependency/>
</dependency>
</module-dependencies>
<public-packages/>
<class-path-extension>
Expand Down

0 comments on commit f1aed1b

Please sign in to comment.