Ayeps / gmaps4jsf

Automatically exported from code.google.com/p/gmaps4jsf
0 stars 0 forks source link

Build source with NetBeans6.5: missing additional source folders #18

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Checkout source from SVN
2. Open source in IDE NetBeans 6.5
3. Core-Project: Has error on syntax-highlighter like "Map" not found

What is the expected output? What do you see instead?
 no errors in syntax-highlighter

What version of the product are you using? On what operating system?
 Windows XP, Java SDK 1.6_03, NetBeans 6.5

Please provide any additional information below.
 - this issue was first reported under Issue-14
 - add additional plugin to pom.xml of core project (module core)

            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>build-helper-maven-plugin</artifactId>
                <version>1.2</version>
                <executions>
                    <execution>
                        <id>add-source</id>
                        <phase>generate-sources</phase>
                        <goals>
                            <goal>add-source</goal>
                        </goals>
                        <configuration>
                            <sources>
                                <source>target/maven-jsf-plugin</source>
                            </sources>
                        </configuration>
                    </execution>
                </executions>
            </plugin>

With this plugin, NetBeans is able to see the external sources.

Original issue reported on code.google.com by bruno.ma...@gmail.com on 21 Dec 2008 at 2:02

GoogleCodeExporter commented 9 years ago
correct <source>:
- <source>target/maven-jsf-plugin/main/java</source>

Original comment by bruno.ma...@gmail.com on 21 Dec 2008 at 2:52

GoogleCodeExporter commented 9 years ago
You should build the project to generate the components' classes, then import 
it in
NetBeans.

It is a maven2 project so you should go to the parent POM directory then 
> mvn clean install

and you will not face any compilation errors.

Original comment by Hazem.sa...@gmail.com on 29 Dec 2008 at 12:04

GoogleCodeExporter commented 9 years ago
Thx it worked

Original comment by bruno.ma...@gmail.com on 29 Dec 2008 at 3:11

GoogleCodeExporter commented 9 years ago

Original comment by Hazem.sa...@gmail.com on 13 Apr 2009 at 5:54