Maybe this is not the right place to write this, but I am not sure where
would be better.

problem:  Complex project compiling correctly, but ide not picking up on war
classpaths in editor.


I have a complex maven build with a hierarchy of war files depending on each
other.  I have been using the warpath plugin to have things work right and
they have been for several months successfully in Netbeans 5.5.

I regularly updating Netbeans and all of its plugins.  About a week ago when
I did so and all of a sudden the classpath is not showing up as resolved in
the editor though all the programs are compiling out successfully in the
maven used from the IDE.  What I mean is that war dependant code is showing
up as not being able to be found in the visual editor though maven 

Originally this same problem occurred, but using the trick of switching
packaging in the pom.xml from being a war to a jar and back again to allow
the jar classpaths to resolve.

I am not sure what changed.  Clearing out the .m2 or anything else seems to
work.   Not sure exactly how to setup the classpaths in Netbeans when it
thinks it is using Maven.

Things like this should just be easier!!!  Frustrated with maven, but my
build can't really go back to Ant at this point and I have not had very good
luck with getting the project working in Eclipse.

Thanks for any ideas.

JohnE



....

  <build>
    <plugins>
        <plugin>
            <groupId>org.appfuse</groupId>
            <artifactId>maven-warpath-plugin</artifactId>
            <version>1.0-m3-SNAPSHOT</version>
            <extensions>true</extensions> 
            <executions>
                <execution>
                    <goals>
                        <goal>add-classes</goal>
                    </goals>
                </execution>
            </executions>
        </plugin>
        <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-war-plugin</artifactId>
            <version>2.0</version>
        </plugin>

    </plugins>
  </build>
  
    <dependencies>

        <dependency>
            <groupId>com.jmjmedia.sp</groupId>
            <artifactId>jmjdev-psplatform</artifactId>
            <version>3.0-SNAPSHOT</version>
            <type>war</type>
            <!-- <type>war</type> -->
        </dependency>

    </dependencies>


-- 
View this message in context: 
http://www.nabble.com/Netbeans-5.5-with-warpath-tf3204087s2369.html#a8897391
Sent from the AppFuse - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to