On Mon, May 31, 2010 at 4:49 AM, Fabio Mancinelli
<[email protected]> wrote:
> On 05/29/2010 12:05 AM, James Cuzella wrote:
>> On Fri, May 28, 2010 at 12:46 AM, Vincent Massol<[email protected]>  wrote:
>>>
>>> On May 28, 2010, at 1:16 AM, James Cuzella wrote:
>>>
>>>> On Wed, May 26, 2010 at 12:10 AM, Vincent Massol<[email protected]>  
>>>> wrote:
>>>>> Hi James,
>>>>>
>>>>> I don't know what the problem is with m2eclipse (I haven't used it to run 
>>>>> an archetype) but for the second problem it was because of an invalid 
>>>>> dependency.
>>>>> I've fixed it in SVN.
>>>>>
>>>>> For now you can simply edit the generated pom.xml and replace
>>>>> xwiki-core-rendering-parser-wikimodel
>>>>>
>>>>> with
>>>>>
>>>>> xwiki-core-rendering-syntax-wikimodel
>>>>>
>>>>> Thanks for reporting this.
>>>>> -Vincent
>>>>
>>>>
>>>> Thanks, that fixed it!  Now have Eclipse working pretty well for
>>>> coding, however I'm confused how I can debug or run my code within
>>>> Eclipse for testing.
>>>
> Actually I think you should have a look at
> http://svn.xwiki.org/svnroot/xwiki/platform/xwiki-tools/trunk/xem-web-debug-eclipse/
>
> It's an Eclipse project that is already configured for hacking XE.
> Just follow the instruction in the README.txt
>
> It's true that you should complement that information with that you
> found on the Wiki page (e.g., AspectJ configuration, etc.)
>
> Anyway I think that you should definitely start from the
> xem-web-debug-eclipse project.
>
> -Fabio

Thanks for pointing me towards the README, I'm pretty sure there was
no mention of this on the wiki pages I was following.  I now set the
variables mentioned to point to my checked out xwiki source code.
Also, I've tried to follow all the instructions I could find on the
wiki (spread out between many pages) multiple times.  Sadly, Eclipse
just doesn't want to cooperate with me... now it's giving me yet
another error :-(

The main reason why I hate Eclipse for development is due to the
initial project setup and inevitable problems with one's workspace
environment that always seem to pop up for me.  Is anyone actually
developing Xwiki from Windows, or does it require a Linux environment
(for symlinks, and a more sane environment)?

Anyway, the latest error message seems potentially connected to the
file link stuff mentioned in the README file... however, I just don't
know where to look anymore as I've gone through the steps multiple
times now, checked, and re-checked all my settings.

Here's the error:
----------------------------------------------------
Publishing failed with multiple errors:

Resource is out of sync with the file system:
'/xem-web-debug/src/main/webapp/redirect'.
Resource is out of sync with the file system:
'/xem-web-debug/src/main/webapp/WEB-INF/web.xml'.
Resource is out of sync with the file system:
'/xem-web-debug/src/main/webapp/WEB-INF/struts.tld'.
Resource is out of sync with the file system:
'/xem-web-debug/src/main/webapp/WEB-INF/struts-template.tld'.
Resource is out of sync with the file system:
'/xem-web-debug/src/main/webapp/WEB-INF/struts-logic.tld'.
Resource is out of sync with the file system:
'/xem-web-debug/src/main/webapp/WEB-INF/struts-form.tld'.
Resource is out of sync with the file system:
'/xem-web-debug/src/main/webapp/WEB-INF/portlet.xml'.
Resource is out of sync with the file system:
'/xem-web-debug/src/main/webapp/WEB-INF/commons-logging.properties'.
----------------------------------------------------

The Apache Tomcat server is started by Eclipse, and I can access the
admin pages through http://localhost:8080/.  It looks like it's not
publishing the files correctly.  In Eclipse's server window it says
"Tomcat v6.0 Server at localhost [Debugging, Republish]" and stays
that way.  I can go to Tomcat's "List Applications" page, and it shows
xwiki listed there.  However, trying to access
http://localhost:8080/xwiki gives a 404 message.

Does anyone have a working eclipse workspace for the example macro here?

http://platform.xwiki.org/xwiki/bin/view/DevGuide/RenderingMacroTutorial

Working with Eclipse can really be a pain sometimes.

Thanks,
- James Cuzella
_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to