Hi Tobias, It's not that it doesn't build correctly, it's that eclipse is showing me annoying errors that aren't really problems (I assume the directory is created when tests are run). Here's a screenshot:
http://imgbin.org/index.php?page=image&id=5384 I think just including that dir in svn will solve the problem, no? Chris On Thu, 13 Oct 2011 22:46:35 +0200 Tobias Wunden <[email protected]> wrote: > Hi Chris, > > I fear I don't get the problem. However I build, be it on the > commandline or from Eclipse, I don't get any errors. Can you tell me > exactly how you get them? The setup has been like this since 1.1 (as > far as I remember), with no changes I am aware of, so I am quite > surprised that it should out of a sudden no longer work. > > Tobias > > On 13.10.2011, at 19:50, Christopher Brooks wrote: > > > Can I just add this folder to the source then? Or can whomever > > changed the pom do so? > > > > I don't have problems with it being there, just was wondering why my > > eclipse was barfing up new errors. Seems the directory isn't in > > trunk... > > > > Chris > > > > On Thu, 13 Oct 2011 00:23:00 +0200 Tobias Wunden > > <[email protected]> wrote: > > > >> Hi Chris, > >> > >> our unit tests use slf over log4j, and to do this, they need a > >> valid log4j configuration. This is why we add the log4j > >> configuration during the testResources build phase. If we don't > >> add it this way, each and every module would need it's own log4j > >> configuration file. > >> > >> Tobias > >> > >> On 12.10.2011, at 20:51, Christopher Brooks wrote: > >> > >>> Hi, > >>> > >>> I followed instructions here to setup a new environment: > >>> > >>> http://opencast.jira.com/wiki/display/MH/Eclipse+IDE > >>> > >>> I don't use the mvn plugin for eclipse. After setting the m2 repo > >>> variable things look ok, but there are still errors related to > >>> log4j. The Java build path problems output are lines like (one for > >>> each module): > >>> > >>> Project 'matterhorn-admin-ui' is missing required source folder: > >>> '/opt/matterhorn/matterhorn_trunk/docs/log4j' > >>> matterhorn-admin-ui > >>> > >>> Not sure why log4j is being looked for in our docs folder. > >>> > >>> Our main POM for some reason seems to be referencing this location > >>> for log4j. Why? > >>> > >>> <defaultGoal>install</defaultGoal> > >>> <testResources> > >>> <!-- Add a log4j configuration file to the test resources --> > >>> <testResource> > >>> <directory>${matterhorn.basedir}/docs/log4j</directory> > >>> <includes> > >>> <include>log4j.properties</include> > >>> </includes> > >>> </testResource> > >>> > >>> Chris > -- Christopher Brooks, BSc, MSc ARIES Laboratory, University of Saskatchewan Web: http://www.cs.usask.ca/~cab938 Phone: 1.306.966.1442 Mail: Advanced Research in Intelligent Educational Systems Laboratory Department of Computer Science University of Saskatchewan 176 Thorvaldson Building 110 Science Place Saskatoon, SK S7N 5C9 _______________________________________________ Matterhorn mailing list [email protected] http://lists.opencastproject.org/mailman/listinfo/matterhorn To unsubscribe please email [email protected] _______________________________________________
