Ok, well I think I have a temporary solution. I had installed the maven 2
plugin, but I also had the regular maven installed from awhile back and it
was overriding the maven 2 plugin. Now it will compile, just in Netbeans it
thinks the package doesn't exisit. Annoying, but won't stop development.


mraible wrote:
> 
> 
> On Dec 4, 2007, at 8:33 PM, Stephiems wrote:
> 
>>
>> Ok, well I must be a bit overworked, the reason it didn't work is  
>> those
>> packages weren't imported. Since they didn't get automatically  
>> imported by
>> Netbeans, I forgot to import and save the files. It now compiles on  
>> the
>> command line.
>>
>> Now I just have to figure out if it is Netbeans or the Maven plugin  
>> so I can
>> submit an issue. I don't particularly want to change IDE (sorry,  
>> haha), what
>> is the downside of using full-source?
> 
> I would try the Maven 2 Plugin for NetBeans first of all.
> 
> http://mevenide.codehaus.org/m2-site/index.html
> 
> Hopefully this will allow NetBeans to recognize the WarPath plugin  
> that reads classes (in particular, the ones you need) from a WAR  
> dependency.
> 
> If that doesn't work, full-source will work. The only downside is  
> it's a bit more difficult to upgrade to future AppFuse versions.  
> However, I end up using it on most of my projects since it's nice to  
> have full control of your source code. It also allows you to  
> customize things more - and removes any dependencies on AppFuse.
> 
> Matt
> 
>>
>>
>> mraible wrote:
>>>
>>> There shouldn't be a problem with 2.0.8, I've been using it since it
>>> came out w/o issues. Are you using a basic or modular project. If
>>> basic, does your pom.xml have a dependency on appfuse-struts? It
>>> should have two - one with type=war and one with type=warpath.
>>>
>>> Matt
>>>
>>> On Dec 4, 2007, at 8:18 PM, Stephiems wrote:
>>>
>>>>
>>>> I don't like either one of those solutions, haha.
>>>>
>>>> Ok, just to test, I opened a command line, went to the directory
>>>> that my
>>>> application is in, and typed:
>>>> mvn install
>>>>
>>>> I still got a compile error. I'm guessing that means there is  
>>>> another
>>>> problem, possibly maven 2.0.8? I might download 2.0.7 and give that
>>>> a try to
>>>> see if it still doesn't work.
>>>>
>>>>
>>>> mraible wrote:
>>>>>
>>>>> Yes, it's probably caused by NetBeans - unless you're using a Maven
>>>>> Plugin. There are two solutions:
>>>>>
>>>>> 1. Run "mvn appfuse:full-source" to import all of AppFuse's source
>>>>> into your project.
>>>>> 2. Compile from the command line.
>>>>>
>>>>> The good news is IDEA doesn't have this problem. ;-)
>>>>>
>>>>> Matt
>>>>>
>>>>> On Dec 4, 2007, at 8:04 PM, Stephiems wrote:
>>>>>
>>>>>>
>>>>>> I was running through the tutorial for AppFuse and made it up to
>>>>>> the Web
>>>>>> Application part. I've created a struts2 project, and when I tried
>>>>>> to extend
>>>>>> BaseActionTestCase and also BaseAction, they couldn't be found. It
>>>>>> doesn't
>>>>>> seem like anything in the appfuse-struts package is able to be  
>>>>>> seen
>>>>>> by my
>>>>>> application.
>>>>>>
>>>>>> For your information, I'm using Netbeans 6.0 with the maven  
>>>>>> plugin,
>>>>>> maybe it
>>>>>> has something to do with Netbeans? Oh, also I'm using maven 2.0.8.
>>>>>>
>>>>>> Thanks,
>>>>>> Stephanie
>>>>>> -- 
>>>>>> View this message in context: http://www.nabble.com/
>>>>>> org.appfuse.webapp-classes-don%27t-seem-to-be-in-classpath-
>>>>>> tf4947362s2369.html#a14164948
>>>>>> Sent from the AppFuse - User mailing list archive at Nabble.com.
>>>>>>
>>>>>> ------------------------------------------------------------------ 
>>>>>> --
>>>>>> -
>>>>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>>>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>>>>
>>>>>
>>>>> ------------------------------------------------------------------- 
>>>>> --
>>>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>>>
>>>>>
>>>>>
>>>>
>>>> -- 
>>>> View this message in context: http://www.nabble.com/
>>>> org.appfuse.webapp-classes-don%27t-seem-to-be-in-classpath-
>>>> tf4947362s2369.html#a14164986
>>>> Sent from the AppFuse - User mailing list archive at Nabble.com.
>>>>
>>>> -------------------------------------------------------------------- 
>>>> -
>>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>
>>>
>>>
>>
>> -- 
>> View this message in context: http://www.nabble.com/ 
>> org.appfuse.webapp-classes-don%27t-seem-to-be-in-classpath- 
>> tf4947362s2369.html#a14165118
>> Sent from the AppFuse - User mailing list archive at Nabble.com.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/org.appfuse.webapp-classes-don%27t-seem-to-be-in-classpath-tf4947362s2369.html#a14165379
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