Ok this is confusing the hell out of me.... i've followed the guide :
http://www.appfuse.org/display/APF/AppFuse+Core+Classes

i've downloaded the source files from the repository and (think i've added
them in the correct place) 
src\main\java\org\appfuse <-- Matt's source files
src\main\java\com\inuk     <-- My Source files

I've updated the dependency in my pom.xml so it looks this:
<dependency>
            <groupId>org.appfuse</groupId>
            <artifactId>appfuse-${web.framework}</artifactId>
            <version>${appfuse.version}</version>
            <type>warpath</type>
            <exclusions>
                <exclusion>
                    <groupId>org.appfuse</groupId>
                    <artifactId>appfuse-data-common</artifactId>
                </exclusion>
              </exclusions>
        </dependency>

I'm using Idea, when i use the User object it maps to the correct edited
source class in the src\main\java\org\appfuse directory but then i run it
using:

mvn jetty:run

it somehow uses Matt's! I have deleted this out of my .m2 directory so have
no idea where its getting his classes from. I've also run:

mvn clean

MANY times! ha

Any help would be very very greatful - Thanks

Sion


tdahlke wrote:
> 
> Address.java is part of the core model classes, so refer to Mike's post
> about that. The form controllers and other things should probably be
> extended/replaced. If you'd like to look at the source for reference,
> check it out from the SVN repository:
> http://appfuse.org/display/APF/Source+Repository
> 
> Travis
> 
> sionsmith wrote:
>> 
>> Well i want to edit things like the address.java class and some of the
>> actions classes e.g UserForm.java so that they return to different pages.
>> I have downloaded the whole JSF source from SVN i'm i able to just place
>> this into my project under the "src\main\java" directory and sort my pom
>> out so that it uses that instead? 
>> 
>> I'm not looking to change the model stuff just the JSF stuff.
>> 
>> Many Thanks for your replay and help :)
>> 
>> sion
>> 
>> Michael Horwitz wrote:
>>> 
>>> It all depends on what you want to edit. Instructions on changing the
>>> core
>>> model classes can be found here:
>>> http://www.appfuse.org/display/APF/AppFuse+Core+Classes. For the rest it
>>> is
>>> probably better to extend/replace - this should make it easier to
>>> upgrade to
>>> new versions as they become available. Hope that helps!
>>> 
>>> Mike.
>>> 
>>> On 3/22/07, sionsmith <[EMAIL PROTECTED]> wrote:
>>>>
>>>>
>>>> Hi Guys & Girls, quick question - so far i have been extending Matt's
>>>> classes
>>>> with my own, is there anywhere i can just edit his classes? if so how?
>>>> i
>>>> have run the "mvn war:inplace" to obtain the compiled source but cannt
>>>> edit
>>>> it obliviously as the class are in my library folder. Is there such a
>>>> command with puts all these classes into the /java directory so i can
>>>> edit
>>>> them?
>>>>
>>>> cheers
>>>> --
>>>> View this message in context:
>>>> http://www.nabble.com/Editing-Appfuse-Source-tf3448664s2369.html#a9618385
>>>> 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/Editing-Appfuse-Source-tf3448664s2369.html#a9810966
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