Starting a Project

25 views
Skip to first unread message

Laura L.

unread,
Jul 15, 2021, 2:12:02 PM7/15/21
to RapidWright
Hi,

I think this may be more of an Eclipse question, but I am trying to get my development environment set up with RapidWright but having some trouble. I am using Eclipse and followed the steps in the RapidWright Eclipse Setup. After doing this, how do I then create a project to work in and connect it to the RapidWright project? I tried right clicking on my project and going to properties to have the build path include the RapidWright project but this didn't seem to resolve the errors on my import. If I create a file directly in the RapidWright project, my imports work fine, but I would like to avoid doing this.

Thanks,
Laura

RapidWright

unread,
Jul 15, 2021, 2:42:07 PM7/15/21
to RapidWright
Hi Laura,

Your approach sounds reasonable, I'm not sure why Eclipse is giving you errors.  I created a test workspace and attempted what you described and I found that I could not automatically import some classes, here is a screenshot when I attempted the  "fix project setup" option from right-clicking on the highlighted code:

eclipsesetup.png

If I click OK, it configures the libraries of my custom project to include the rapidwright-api-lib-2020.2.6.jar as shown below:

Screenshot 2021-07-15 123855.png

This might be the issue you are experiencing.  I suppose Eclipse doesn't export the jar files setup in RapidWright, so you probably have to add them directly so they are on your CLASSPATH.  Hope that helps.

Chris

Laura L.

unread,
Jul 15, 2021, 2:51:26 PM7/15/21
to RapidWright
Hi,

I see, ok I think that worked for me as well. Thank you!

Laura

Reply all
Reply to author
Forward
0 new messages