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 179590 - Build fails for Scala project with whitespace in its name
Summary: Build fails for Scala project with whitespace in its name
Status: NEW
Alias: None
Product: contrib
Classification: Unclassified
Component: Scala (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: _ dcaoyuan
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-16 15:03 UTC by eed3si9n
Modified: 2010-01-16 15:03 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 eed3si9n 2010-01-16 15:03:18 UTC
Steps:
1. Create a new Scala Application project from File | New Project...
2. Name the project to be "Scala Project Name", and hit Finish button.
3. Hit Build button.

Problem:
The build fails with the following output:

Compiling 1 source file to /Users/foo/NetBeansProjects/Scala Project Name/build/classes
/Users/foo/NetBeansProjects/Scala Project Name/nbproject/build-impl.xml:403: The following error occurred while executing this line:
/Users/foo/NetBeansProjects/Scala Project Name/nbproject/build-impl.xml:236: don't know what to do with Project
BUILD FAILED (total time: 0 seconds)

Expectation:
The build succeeds.

Versions:
NetBeans IDE 6.8
Java 1.6.0_17
Scala Kit 0.16.1
Scala 2.8.0.Beta1-RC7

Note:
Line 235 of build-impl.xml:
<scalac addparams="-make:transitive -dependencyfile ${basedir}/${build.dir}/.scala_dependencies @{addparams}" deprecation="${scalac.deprecation}" destdir="@{destdir}" encoding="${source.encoding}" excludes="@{excludes}" extdirs="@{extdirs}" force="yes" fork="true" includes="@{includes}" sourcepath="@{sourcepath}" srcdir="@{srcdir}" target="jvm-${javac.target}" unchecked="${scalac.unchecked}">
                    <classpath>
                        <path>
                            <pathelement path="@{classpath}"/>
                            <fileset dir="${scala.lib}">
                                <include name="**/*.jar"/>
                            </fileset>
                            <pathelement location="${build.classes.dir}"/>
                        </path>
                    </classpath>
                    <customize/>
                </scalac>