Are you using a modular archetype? If so you will need to run mvn clean install from the top level to rebuild/reinstall your own core classes before running mvn jetty:run in the web project.
If you are using a basic archetype, could you check to see whether the classes are available on the web container classpath: 1) Is appfuse-data-common in target/<project-name>/WEB-INF/lib? If so it is not being properly excluded - run mvn -X pacakage > out.txt in your web project, and examine the out.txt trace file to see where it is being pulled in from. 2) Are your classes correctly compiled and available in the target/<project-name>/WEB-INF/classes directories? Mike. On 4/3/07, sionsmith <[EMAIL PROTECTED]> wrote:
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]