Skip to main content

Source code file content

Revision: 3385

fixed codebases to ssl refs
» Project Revision History

» Checkout URL

svn / trunk / build-nb-impl.xml

Size: 1754 bytes, 1 line
<?xml version="1.0" encoding="UTF-8"?>

  <!-- This debug target will only work in Netbeans 4.0. In order to use this 
       project within NetBeans 4.0: 

   1. Create a new project in NB 4.0: File -> New
     1.1. Select Standard, Java Project with Existing Ant Script
     1.2. Set "Location" to the root directory of the local workspace
     1.3. Set the ant targets: build -> -compile-demo.
     1.4. For source package select the "src/java" and "src/demo" folders.
     1.5. Adding jar files to the classpath is optional

   2. Check the project properties: File -> "JDNC Incubator" properties
     2.1. Build and Run: Make sure that debug project points to "debug" target
     2.2. Set the Output:
       2.2.1. For src/java, add the JDNC_INCUBATOR/build/classes directory
       2.2.2. For src/demo, add the JDNC_INCUBATOR/build/demo/classes directory

   3. Hook up version control: Versioning -> Versioning Manager
     3.1. VCS profile: select CVS
     3.2. Select JDNC_INCUBATOR root directory.


<project name="NetBeans debugger implementation" default="debug" basedir=".">

  <target name="debug" if="netbeans.home">
    <fail message="Property 'main.class' not set." unless="main.class"/>
    <nbjpdastart name="${main.class}" addressproperty="jpda.address" transport="dt_socket">
        <path refid="${main.classpath}"/>
    <java classname="${main.class}" fork="true">
      <jvmarg value="-Xdebug"/>
      <jvmarg value="-Xnoagent"/>
      <jvmarg value="-Djava.compiler=none"/>
      <jvmarg value="-Xrunjdwp:transport=dt_socket,address=${jpda.address}"/>
        <path refid="${main.classpath}"/>

Please Confirm