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 246013 - [801cat] now web pages folder on web projects
Summary: [801cat] now web pages folder on web projects
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Maven (show other bugs)
Version: 8.0
Hardware: PC Windows 8
: P2 normal (vote)
Assignee: Martin Janicek
URL:
Keywords:
: 245954 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-07-25 14:32 UTC by muellermi
Modified: 2014-07-30 07:37 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (75.50 KB, text/plain)
2014-07-25 14:32 UTC, muellermi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description muellermi 2014-07-25 14:32:39 UTC
Product Version = NetBeans IDE Dev (Build 201407250001)
Operating System = Windows 8 version 6.2 running on amd64
Java; VM; Vendor = 1.8.0_05
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.5-b02

As the headline says, in the project tree there is no more web pages folder.
Same problem with yesterdays version. 20140709 is ok.
Comment 1 muellermi 2014-07-25 14:32:44 UTC
Created attachment 148327 [details]
IDE log
Comment 2 muellermi 2014-07-25 14:35:51 UTC
This problem affects Maven projects only (I just double-checked an elder ant based project, which is ok)
Comment 3 muellermi 2014-07-26 08:40:49 UTC
Just recovered a typo at the headline.
_NO_ web pages. Not _now_ ;-)
Comment 4 Martin Janicek 2014-07-26 08:44:46 UTC
Hi, could you please attach your pom.xml ? Thanks!
Comment 5 muellermi 2014-07-26 09:30:25 UTC
This problem occurs for all projects, thus I don't think it depends on the POM.

I created a fresh project with 20140726. Here is the POM:

<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>

    <groupId>de.muellerbruehl</groupId>
    <artifactId>mavenproject3</artifactId>
    <version>1.0-SNAPSHOT</version>
    <packaging>war</packaging>

    <name>mavenproject3</name>

    <properties>
        <endorsed.dir>${project.build.directory}/endorsed</endorsed.dir>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    </properties>
    
    <dependencies>
        <dependency>
            <groupId>javax</groupId>
            <artifactId>javaee-web-api</artifactId>
            <version>7.0</version>
            <scope>provided</scope>
        </dependency>
    </dependencies>

    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <version>3.1</version>
                <configuration>
                    <source>1.7</source>
                    <target>1.7</target>
                    <compilerArguments>
                        <endorseddirs>${endorsed.dir}</endorseddirs>
                    </compilerArguments>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-war-plugin</artifactId>
                <version>2.3</version>
                <configuration>
                    <failOnMissingWebXml>false</failOnMissingWebXml>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-dependency-plugin</artifactId>
                <version>2.6</version>
                <executions>
                    <execution>
                        <phase>validate</phase>
                        <goals>
                            <goal>copy</goal>
                        </goals>
                        <configuration>
                            <outputDirectory>${endorsed.dir}</outputDirectory>
                            <silent>true</silent>
                            <artifactItems>
                                <artifactItem>
                                    <groupId>javax</groupId>
                                    <artifactId>javaee-endorsed-api</artifactId>
                                    <version>7.0</version>
                                    <type>jar</type>
                                </artifactItem>
                            </artifactItems>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>

</project>

Opening the same project with an elder version, everything is still fine.
Comment 6 Martin Janicek 2014-07-27 08:06:54 UTC
You are right, thanks! I will take a look at it..
Comment 7 Martin Janicek 2014-07-27 08:13:53 UTC
*** Bug 245954 has been marked as a duplicate of this bug. ***
Comment 8 Martin Janicek 2014-07-28 08:41:38 UTC
Weird, I was able to reproduce it yesterday at home on Windows 7, but not today on Ubuntu 14.04 LTS. Maybe OS dependent? Not sure how that happened. Will take a look at it later at home.
Comment 9 Martin Janicek 2014-07-28 12:27:56 UTC
Caused by different folder path on Windows/Linux. Regression made by change-set web-main #a8db2e08622e. Should be simple to fix.
Comment 10 Martin Janicek 2014-07-28 16:14:39 UTC
Fixed by change-set: web-main #69b3bcf006e5
Comment 11 Quality Engineering 2014-07-29 02:32:53 UTC
Integrated into 'main-silver', will be available in build *201407290001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/69b3bcf006e5
User: Martin Janicek <mjanicek@netbeans.org>
Log: #246013 - [801cat] now web pages folder on web projects