This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 71707 - can´t compile or build with new platfrom
Summary: can´t compile or build with new platfrom
Status: CLOSED WORKSFORME
Alias: None
Product: apisupport
Classification: Unclassified
Component: Project (show other bugs)
Version: 5.x
Hardware: All Windows XP
: P3 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-21 21:00 UTC by _ wsantos
Modified: 2006-01-26 13:56 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ wsantos 2006-01-21 21:00:51 UTC
Hi Support, let me introduce myself, my name is Wagner, and 
I´ve downloaded NetBeans Platform and NetBeans IDE RC2 yesterday, after 
installed i´ve created a plug-in project, but i don´t know why, but i´m unable 
to build or even compile my project, i got the error below:
-------------------------------------------------------------------------------
C:\JavaProject\Plugin\testeDB\build.xml:7: The following error occurred while 
executing this line:

C:\JavaProject\Plugin\testeDB\nbproject\build-impl.xml:17: The following error 
occurred while executing this line:

C:\JavaProject\Plugin\testeDB\nbproject\build-impl.xml:13: Syntax error in 
property: ${nbplatform.NetBeans_Platform_Dev_(Build_200601172200).harness.dir

-------------------------------------------------------------------------------

Follow my build-xml.
-------------------------------------------------------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<!-- You may freely edit this file. See harness/README in the NetBeans 
platform -->
<!-- for some information on what you could do (e.g. targets to override). -->
<!-- If you delete this file and reopen the project it will be recreated. -->
<project name="br.com.wrsconsulting.testedb" default="netbeans" basedir=".">
    <description>Builds, tests, and runs the project 
br.com.wrsconsulting.testedb.</description>
<import file="nbproject/build-impl.xml"/>
</project>
-------------------------------------------------------------------------------
--------------------------------------------

and follow my build-impl.xml respectively...
-------------------------------------------------------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<!--
*** GENERATED FROM project.xml - DO NOT EDIT  ***
***         EDIT ../build.xml INSTEAD         ***
-->
<project name="br.com.wrsconsulting.testedb-impl" basedir=".." 
xmlns:nbmproject="http://www.netbeans.org/ns/nb-module-project/2">
<property file="nbproject/private/platform-private.properties"/>
<property file="nbproject/platform.properties"/>
<macrodef name="property" uri="http://www.netbeans.org/ns/nb-module-project/2">
<attribute name="name"/>
<attribute name="value"/>
<sequential>
<property name="@{name}" value="${@{value}"/>
</sequential>
</macrodef>
<property file="${user.properties.file}"/>
<nbmproject:property name="harness.dir" 
value="nbplatform.${nbplatform.active}.harness.dir"/>
<nbmproject:property name="netbeans.dest.dir" 
value="nbplatform.${nbplatform.active}.netbeans.dest.dir"/>
<fail message="You must define 'nbplatform.${nbplatform.active}.harness.dir'">
<condition>
<not>
<available file="${harness.dir}" type="dir"/>
</not>
</condition>
</fail>
<import file="${harness.dir}/build.xml"/>
</project>
-------------------------------------------------------------------------------
Thanks in advance
Comment 1 Martin Krauskopf 2006-01-23 08:25:03 UTC
Not sure how this could arise without direct properties editing. Reassigning...
Comment 2 _ wsantos 2006-01-23 18:31:49 UTC
 well, i forgot to say that i´m using jdk 1.5, maybe the bug is in this JDK 
version, right ?
Regards
Wagner
Comment 3 _ wsantos 2006-01-23 18:35:00 UTC
 i´ve a similar problem when i create a new project with JDK 1.5,, i got an 
erro in javax.xml.transform,,  I´ll try with JDK 1.4 later..
Comment 4 Jesse Glick 2006-01-23 21:08:04 UTC
Perhaps you're using an old JDK 5 beta build??

Please provide some steps to reproduce using a clean NB install, clean JDK
install, clean IDE user dir, fresh project.
Comment 5 _ wsantos 2006-01-24 11:28:55 UTC
 Guys,  i changed my netbeans.config, in order to use JDK 1.4_02, and it worked 
fine, in fact the real problem is in the JDK 1.5 beta,,,
 Thanks,
 
Comment 6 Jesse Glick 2006-01-24 17:52:14 UTC
x
Comment 7 Jesse Glick 2006-01-24 17:52:42 UTC
Nothing was fixed.
Comment 8 Tomas Danek 2006-01-26 13:56:37 UTC
problem solved, issue can be closed.