DRS2 Usenet wrote:
> Stefano Mazzocchi wrote:
>> DRS2 Usenet wrote:
>>> Things have changed significantly since the Feb 2005 thread in "dev"
> about
>>> building in Eclipse, so I was looking for pointers on how to get the
> project
>>> to build in Eclipse (Windows).
>>>
>>> I've got the java-firefox-extension building (that was EASY!)  I've got
> all
>>> of the tools on this page:
> http://simile.mit.edu/wiki/Piggy_Bank_Development
>>> installed and working.  I did get the source, and tried to use the
> Eclipse
>>> option to build from the ant build.xml file.  I also tried a plain-jane
> Java
>>> project import, but both of those left me with a lot of work to do.  I
>>> wouldn't mind the work except for that I don't know if I'd ever get to
> the
>>> result!  I also saw a post describing the removal of the .classpath and
>>> .project files (yes, they don't travel well, but they're better than
>>> nothing, IMHO).
>>>
>>> I really only want to be able to use Eclipse to pop-around / navigate
>>> through the code.  Can somebody spare a moment to advise me?  Thanks.
>> have you tried "mvn eclipse:eclipse"?
> 
> Thanks for the hint Stefano. That helped. I've made it through many years of
> Java programming and somehow avoided maven (until now).  That appeared to
> be a command line, so I went to where I had the Piggy Bank project
> (under the Eclipse work directory), and typed the command.  Things started
> downloading.  I'm not sure why (didn't I already download it from the SVN

You downloaded the source.  The jars PB depends on are managed through 
Maven 2, which downloads jars as needed.

> repository?).  It's still not building without errors (missing jetty, log4j,
> retroweaver, libidn, sesame, whirlycache).  I think I might be able to

Errors in Eclipse?  If you run 'ant' on the command line, does it build?

The latest copy of PB I have relies on the Maven plugin for Eclipse, as 
mentioned in the PB Development wiki page, but not particularly 
explained.  Right clicking on your piggy bank project should include a 
Maven2 option in your context menu.  Have you enabled it for PB?  This 
allows Eclipse to use Maven for managing jars.

> make headway from here (unless of course you are feeling generous and think
> I'll screw this up ;-)

I've updated our documentation for Eclipse users.

It will probably change in the near future.  We've moved away from the 
Maven2 plugin in our other projects and will do it with PB soon enough.

-- 
Ryan Lee                  [EMAIL PROTECTED]
MIT CSAIL Research Staff  http://simile.mit.edu/
http://people.csail.mit.edu/ryanlee/
_______________________________________________
General mailing list
[email protected]
http://simile.mit.edu/mailman/listinfo/general

Reply via email to