Results 1 to 7 of 7

Thread: Problems setting up RCP 4 development

  1. #1
    Join Date
    Nov 2005
    Location
    Christchurch, New Zealand
    Posts
    17

    Default Problems setting up RCP 4 development

    Hey guys,

    I'm just curious as to whether the instructions on the page: http://spring-rich-c.sourceforge.net...mentSetup.html

    are accurate and up to date.

    I tried setting up the project and I ran all mvn install and mvn eclipse:eclipse commands but it doesn't seem to give me a proper set of source code.

    I still have things like "package $package" at the head of java files. And there just seems to be a whole lot of source files missing.

    Is there anything i should know about that i'm missing when it comes to setting up RCP for development?

    Thanks
    Johnny A

  2. #2
    Join Date
    Jan 2006
    Location
    Vilnius, Lithuania
    Posts
    68

    Default

    Hi,

    The problem with "package $package" and similar things most probably come from spring-richclient-archetype project under Eclipse. It is actually not a problem at all. The folder /src/main/resources contains Java code templates that are not meant to be syntax-validated as Java source, but Eclipse does exact that :-)

    If this is bothering you, just close the archetype project. It would be nice if Eclipse had a way to specify that certain source folders contains unparseable resources to be copied to output directory.

    Hope this clears things a bit,

    Andrius

  3. #3
    Join Date
    May 2005
    Posts
    394

    Default

    I am not an eclipse user (intellij addict). A patch for the developerSetup.apt which adds a sentence to clear this problem up is very welcome

  4. #4
    Join Date
    Nov 2005
    Location
    Christchurch, New Zealand
    Posts
    17

    Default

    Andrius,

    Thanks for the reply. Yep you're right about the archetype project. But I don't think any of the projects are right since i don't have any of the expected java files...

    I haven't given up yet i'm gonna try the whole process one more time. (This will be the third time). Crossing my fingers.

    Cheers
    Johnny

  5. #5
    Join Date
    Nov 2005
    Location
    Christchurch, New Zealand
    Posts
    17

    Default

    Actually I just had a look at the online repository:

    http://svn.sourceforge.net/viewcvs.c...ng-richclient/

    and i can't seem to find any of the core java source files there. What's up with that? If i am mistaken can some actually point me to an instance of the java sources for RCP core??

    UPDATE: I just did a fresh checkout from subversion and it looks like most java files are missing. The core/src/main/java dir is empty as are most others.
    I used the svn checkout command listed on the RCP website:

    svn checkout https://svn.sourceforge.net/svnroot/...ng-richclient/ spring-richclient

    Thanks
    Johnny
    Last edited by johnny; Jul 19th, 2006 at 06:55 AM.

  6. #6
    Join Date
    May 2005
    Posts
    394

    Default

    core/src/main/java is empty because everything is still in support/src/main/java and needs to be divided up into the modules.

  7. #7
    Join Date
    Nov 2005
    Location
    Christchurch, New Zealand
    Posts
    17

    Default

    Thanks Geoff,

    I was under the impression that everything was already divided into modules. Anyways thanks for the clarification. A bit more info on the website would be nice though.

    Cheers
    Johnny

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •