Ticket #39 (closed defect: fixed)
Setup Errors in Ganymede
| Reported by: | pkbhavani | Owned by: | maccaf |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.0M1 |
| Component: | all | Version: | devel |
| Severity: | major | Keywords: | |
| Cc: | OS: | All |
Description
Using JDK 1.6.0_02.
1. Checked out source from
svn co http://svn.eclipsetrader.org/svnroot/eclipsetrader/trunk eclipsetrader
2. Checked out nebula sources
cd eclipsetrader
cvs -d:pserver:anonymous@dev.eclipse.org:/cvsroot/technology co -P -d org.eclipse.nebula.widgets.cdatetime org.eclipse.swt.nebula/org.eclipse.nebula.widgets.cdatetime
cvs -d:pserver:anonymous@dev.eclipse.org:/cvsroot/technology co -P -d org.eclipse.nebula.widgets.pshelf org.eclipse.swt.nebula/org.eclipse.nebula.widgets.pshelf
3. In Eclipse (Ganymede) In the PackageExplorer Right Click Menu -->Import --> General -> Existing Projects into Workspace, Imported All projects from eclipsetrader except the ones starting net.sourceforge.*
I see whole bunch of Access Ristrictructions and It seems like the problem is with the javax.xml.bind package/plugin in the project. Here are some of them. Anyone knows how to fix them,
Access restriction: The constructor JAXBElement<Exchange[]>(QName, Class<Exchange[]>, Exchange[]) is not accessible due to restriction on required library C:\Java\jdk1.6.0_02\jre\lib\rt.jar ExchangePage.java org.eclipsetrader.opentick/src/org/eclipsetrader/opentick/internal/ui line 109 Java Problem Access restriction: The constructor JAXBElement<FeedSource[]>(QName, Class<FeedSource[]>, FeedSource[]) is not accessible due to restriction on required library C:\Java\jdk1.6.0_02\jre\lib\rt.jar RSSPreferencesPage.java org.eclipsetrader.news/src/org/eclipsetrader/news/internal/preferences line 218 Java Problem Access restriction: The constructor JAXBElement<HeadLine[]>(QName, Class<HeadLine[]>, HeadLine[]) is not accessible due to restriction on required library C:\Java\jdk1.6.0_02\jre\lib\rt.jar NewsService.java org.eclipsetrader.news/src/org/eclipsetrader/news/internal line 145 Java Problem Access restriction: The constructor JAXBElement<Instrument[]>(QName, Class<Instrument[]>, Instrument[]) is not accessible due to restriction on required library C:\Java\jdk1.6.0_02\jre\lib\rt.jar InstrumentsPage.java org.eclipsetrader.opentick/src/org/eclipsetrader/opentick/internal/ui line 118 Java Problem Access restriction: The field JAXB_ENCODING from the type Marshaller is not accessible due to restriction on required library C:\Java\jdk1.6.0_02\jre\lib\rt.jar Activator.java org.eclipsetrader.directa/src/org/eclipsetrader/directa/internal line 157 Java Problem Access restriction: The field JAXB_ENCODING from the type Marshaller is not accessible due to restriction on required library C:\Java\jdk1.6.0_02\jre\lib\rt.jar Activator.java org.eclipsetrader.directaworld/src/org/eclipsetrader/directaworld/internal line 127 Java Problem Access restriction: The field JAXB_ENCODING from the type Marshaller is not accessible due to restriction on required library C:\Java\jdk1.6.0_02\jre\lib\rt.jar AggregateHistoryStore.java org.eclipsetrader.repository.local/src/org/eclipsetrader/repository/local/internal/stores line 190 Java Problem Access restriction: The field JAXB_ENCODING from the type Marshaller is not accessible due to restriction on required library C:\Java\jdk1.6.0_02\jre\lib\rt.jar ChartSectionTest.java org.eclipsetrader.core.charts.tests/src/org/eclipsetrader/core/internal/charts/repository line 66 Java Problem Access restriction: The field JAXB_ENCODING from the type Marshaller is not accessible due to restriction on required library C:\Java\jdk1.6.0_02\jre\lib\rt.jar ChartTemplateTest.java org.eclipsetrader.core.charts.tests/src/org/eclipsetrader/core/internal/charts/repository line 58 Java Problem Access restriction: The field JAXB_ENCODING from the type Marshaller is not accessible due to restriction on required library C:\Java\jdk1.6.0_02\jre\lib\rt.jar ChartViewPart.java org.eclipsetrader.ui.charts/src/org/eclipsetrader/ui/internal/charts/views line 785 Java Problem Access restriction: The field JAXB_ENCODING from the type Marshaller is not accessible due to restriction on required library C:\Java\jdk1.6.0_02\jre\lib\rt.jar ColumnTypeTest.java org.eclipsetrader.repository.local.tests/src/org/eclipsetrader/repository/local/internal/types line 77 Java Problem Access restriction: The field JAXB_ENCODING from the type Marshaller is not accessible due to restriction on required library C:\Java\jdk1.6.0_02\jre\lib\rt.jar ElementSectionTest.java org.eclipsetrader.core.charts.tests/src/org/eclipsetrader/core/internal/charts/repository line 53 Java Problem Access restriction: The field JAXB_ENCODING from the type Marshaller is not accessible due to restriction on required library C:\Java\jdk1.6.0_02\jre\lib\rt.jar ExchangePage.java org.eclipsetrader.opentick/src/org/eclipsetrader/opentick/internal/ui line 101 Java Problem Access restriction: The field JAXB_ENCODING from the type Marshaller is not accessible due to restriction on required library C:\Java\jdk1.6.0_02\jre\lib\rt.jar ExpenseTransactionTest.java org.eclipsetrader.brokers.paper.tests/src/org/eclipsetrader/internal/brokers/paper/transactions line 57 Java Problem Access restriction: The field JAXB_ENCODING from the type Marshaller is not accessible due to restriction on required library C:\Java\jdk1.6.0_02\jre\lib\rt.jar FeedSourceTest.java org.eclipsetrader.news.tests/src/org/eclipsetrader/news/internal/connectors line 41 Java Problem Access restriction: The field JAXB_ENCODING from the type Marshaller is not accessible due to restriction on required library C:\Java\jdk1.6.0_02\jre\lib\rt.jar HeadLineTest.java org.eclipsetrader.news.tests/src/org/eclipsetrader/news/internal/repository line 119 Java Problem Access restriction: The field JAXB_ENCODING from the type Marshaller is not accessible due to restriction on required library C:\Java\jdk1.6.0_02\jre\lib\rt.jar HistoryDayTypeTest.java org.eclipsetrader.repository.local.tests/src/org/eclipsetrader/repository/local/internal/types line 78 Java Problem Access restriction: The field JAXB_ENCODING from the type Marshaller is not accessible due to restriction on required library C:\Java\jdk1.6.0_02\jre\lib\rt.jar HistoryStore.java org.eclipsetrader.repository.local/src/org/eclipsetrader/repository/local/internal/stores line 190 Java Problem Access restriction: The field JAXB_ENCODING from the type Marshaller is not accessible due to restriction on required library C:\Java\jdk1.6.0_02\jre\lib\rt.jar HistoryTypeTest.java org.eclipsetrader.repository.local.tests/src/org/eclipsetrader/repository/local/internal/types line 135 Java Problem Access restriction: The field JAXB_ENCODING from the type Marshaller is not accessible due to restriction on required library C:\Java\jdk1.6.0_02\jre\lib\rt.jar HoldingTypeTest.java org.eclipsetrader.repository.local.tests/src/org/eclipsetrader/repository/local/internal/types line 93 Java Problem Access restriction: The field JAXB_ENCODING from the type Marshaller is not accessible due to restriction on required library C:\Java\jdk1.6.0_02\jre\lib\rt.jar IdentifierTypeTest.java org.eclipsetrader.repository.local.tests/src/org/eclipsetrader/repository/local/internal/types line 83 Java Problem Access restriction: The field JAXB_ENCODING from the type Marshaller is not accessible due to restriction on required library C:\Java\jdk1.6.0_02\jre\lib\rt.jar IdentifierTypeTest.java org.eclipsetrader.yahoo.tests/src/org/eclipsetrader/yahoo/internal/core/repository line 74 Java Problem Access restriction: The field JAXB_ENCODING from the type Marshaller is not accessible due to restriction on required library C:\Java\jdk1.6.0_02\jre\lib\rt.jar IdentifiersCollectionTest.java org.eclipsetrader.repository.local.tests/src/org/eclipsetrader/repository/local/internal line 93 Java Problem Access restriction: The field JAXB_ENCODING from the type Marshaller is not accessible due to restriction on required library C:\Java\jdk1.6.0_02\jre\lib\rt.jar InstrumentsPage.java org.eclipsetrader.opentick/src/org/eclipsetrader/opentick/internal/ui line 110 Java Problem .. .. .. so many of the same
Attachments
Change History
comment:3 in reply to: ↑ description Changed 3 years ago by cadence
Replying to pkbhavani:
Using JDK 1.6.0_02.
1. Checked out source from svn co http://svn.eclipsetrader.org/svnroot/eclipsetrader/trunk eclipsetrader
2. Checked out nebula sources cd eclipsetrader
cvs -d:pserver:anonymous@dev.eclipse.org:/cvsroot/technology co -P -d org.eclipse.nebula.widgets.cdatetime org.eclipse.swt.nebula/org.eclipse.nebula.widgets.cdatetime
cvs -d:pserver:anonymous@dev.eclipse.org:/cvsroot/technology co -P -d org.eclipse.nebula.widgets.pshelf org.eclipse.swt.nebula/org.eclipse.nebula.widgets.pshelf
3. In Eclipse (Ganymede) In the PackageExplorer Right Click Menu -->Import --> General -> Existing Projects into Workspace, Imported All projects from eclipsetrader except the ones starting net.sourceforge.*
I see whole bunch of Access Ristrictructions and It seems like the problem is with the javax.xml.bind package/plugin in the project. Here are some of them. Anyone knows how to fix them,
Access restriction: The constructor JAXBElement<Exchange[]>(QName, Class<Exchange[]>, Exchange[]) is not accessible due to restriction on required library C:\Java\jdk1.6.0_02\jre\lib\rt.jar ExchangePage.java org.eclipsetrader.opentick/src/org/eclipsetrader/opentick/internal/ui line 109 Java Problem Access restriction: The constructor JAXBElement<FeedSource[]>(QName, Class<FeedSource[]>, FeedSource[]) is not accessible due to restriction on required library C:\Java\jdk1.6.0_02\jre\lib\rt.jar RSSPreferencesPage.java org.eclipsetrader.news/src/org/eclipsetrader/news/internal/preferences line 218 Java Problem Access restriction: The constructor JAXBElement<HeadLine[]>(QName, Class<HeadLine[]>, HeadLine[]) is not accessible due to restriction on required library C:\Java\jdk1.6.0_02\jre\lib\rt.jar NewsService.java org.eclipsetrader.news/src/org/eclipsetrader/news/internal line 145 Java Problem Access restriction: The constructor JAXBElement<Instrument[]>(QName, Class<Instrument[]>, Instrument[]) is not accessible due to restriction on required library C:\Java\jdk1.6.0_02\jre\lib\rt.jar InstrumentsPage.java org.eclipsetrader.opentick/src/org/eclipsetrader/opentick/internal/ui line 118 Java Problem Access restriction: The field JAXB_ENCODING from the type Marshaller is not accessible due to restriction on required library C:\Java\jdk1.6.0_02\jre\lib\rt.jar Activator.java org.eclipsetrader.directa/src/org/eclipsetrader/directa/internal line 157 Java Problem Access restriction: The field JAXB_ENCODING from the type Marshaller is not accessible due to restriction on required library C:\Java\jdk1.6.0_02\jre\lib\rt.jar Activator.java org.eclipsetrader.directaworld/src/org/eclipsetrader/directaworld/internal line 127 Java Problem Access restriction: The field JAXB_ENCODING from the type Marshaller is not accessible due to restriction on required library C:\Java\jdk1.6.0_02\jre\lib\rt.jar AggregateHistoryStore.java org.eclipsetrader.repository.local/src/org/eclipsetrader/repository/local/internal/stores line 190 Java Problem Access restriction: The field JAXB_ENCODING from the type Marshaller is not accessible due to restriction on required library C:\Java\jdk1.6.0_02\jre\lib\rt.jar ChartSectionTest.java org.eclipsetrader.core.charts.tests/src/org/eclipsetrader/core/internal/charts/repository line 66 Java Problem Access restriction: The field JAXB_ENCODING from the type Marshaller is not accessible due to restriction on required library C:\Java\jdk1.6.0_02\jre\lib\rt.jar ChartTemplateTest.java org.eclipsetrader.core.charts.tests/src/org/eclipsetrader/core/internal/charts/repository line 58 Java Problem Access restriction: The field JAXB_ENCODING from the type Marshaller is not accessible due to restriction on required library C:\Java\jdk1.6.0_02\jre\lib\rt.jar ChartViewPart.java org.eclipsetrader.ui.charts/src/org/eclipsetrader/ui/internal/charts/views line 785 Java Problem Access restriction: The field JAXB_ENCODING from the type Marshaller is not accessible due to restriction on required library C:\Java\jdk1.6.0_02\jre\lib\rt.jar ColumnTypeTest.java org.eclipsetrader.repository.local.tests/src/org/eclipsetrader/repository/local/internal/types line 77 Java Problem Access restriction: The field JAXB_ENCODING from the type Marshaller is not accessible due to restriction on required library C:\Java\jdk1.6.0_02\jre\lib\rt.jar ElementSectionTest.java org.eclipsetrader.core.charts.tests/src/org/eclipsetrader/core/internal/charts/repository line 53 Java Problem Access restriction: The field JAXB_ENCODING from the type Marshaller is not accessible due to restriction on required library C:\Java\jdk1.6.0_02\jre\lib\rt.jar ExchangePage.java org.eclipsetrader.opentick/src/org/eclipsetrader/opentick/internal/ui line 101 Java Problem Access restriction: The field JAXB_ENCODING from the type Marshaller is not accessible due to restriction on required library C:\Java\jdk1.6.0_02\jre\lib\rt.jar ExpenseTransactionTest.java org.eclipsetrader.brokers.paper.tests/src/org/eclipsetrader/internal/brokers/paper/transactions line 57 Java Problem Access restriction: The field JAXB_ENCODING from the type Marshaller is not accessible due to restriction on required library C:\Java\jdk1.6.0_02\jre\lib\rt.jar FeedSourceTest.java org.eclipsetrader.news.tests/src/org/eclipsetrader/news/internal/connectors line 41 Java Problem Access restriction: The field JAXB_ENCODING from the type Marshaller is not accessible due to restriction on required library C:\Java\jdk1.6.0_02\jre\lib\rt.jar HeadLineTest.java org.eclipsetrader.news.tests/src/org/eclipsetrader/news/internal/repository line 119 Java Problem Access restriction: The field JAXB_ENCODING from the type Marshaller is not accessible due to restriction on required library C:\Java\jdk1.6.0_02\jre\lib\rt.jar HistoryDayTypeTest.java org.eclipsetrader.repository.local.tests/src/org/eclipsetrader/repository/local/internal/types line 78 Java Problem Access restriction: The field JAXB_ENCODING from the type Marshaller is not accessible due to restriction on required library C:\Java\jdk1.6.0_02\jre\lib\rt.jar HistoryStore.java org.eclipsetrader.repository.local/src/org/eclipsetrader/repository/local/internal/stores line 190 Java Problem Access restriction: The field JAXB_ENCODING from the type Marshaller is not accessible due to restriction on required library C:\Java\jdk1.6.0_02\jre\lib\rt.jar HistoryTypeTest.java org.eclipsetrader.repository.local.tests/src/org/eclipsetrader/repository/local/internal/types line 135 Java Problem Access restriction: The field JAXB_ENCODING from the type Marshaller is not accessible due to restriction on required library C:\Java\jdk1.6.0_02\jre\lib\rt.jar HoldingTypeTest.java org.eclipsetrader.repository.local.tests/src/org/eclipsetrader/repository/local/internal/types line 93 Java Problem Access restriction: The field JAXB_ENCODING from the type Marshaller is not accessible due to restriction on required library C:\Java\jdk1.6.0_02\jre\lib\rt.jar IdentifierTypeTest.java org.eclipsetrader.repository.local.tests/src/org/eclipsetrader/repository/local/internal/types line 83 Java Problem Access restriction: The field JAXB_ENCODING from the type Marshaller is not accessible due to restriction on required library C:\Java\jdk1.6.0_02\jre\lib\rt.jar IdentifierTypeTest.java org.eclipsetrader.yahoo.tests/src/org/eclipsetrader/yahoo/internal/core/repository line 74 Java Problem Access restriction: The field JAXB_ENCODING from the type Marshaller is not accessible due to restriction on required library C:\Java\jdk1.6.0_02\jre\lib\rt.jar IdentifiersCollectionTest.java org.eclipsetrader.repository.local.tests/src/org/eclipsetrader/repository/local/internal line 93 Java Problem Access restriction: The field JAXB_ENCODING from the type Marshaller is not accessible due to restriction on required library C:\Java\jdk1.6.0_02\jre\lib\rt.jar InstrumentsPage.java org.eclipsetrader.opentick/src/org/eclipsetrader/opentick/internal/ui line 110 Java Problem .. .. .. so many of the same
you will also need to download org.eclipse.nebula.cwt
I am at the point of building the app, but still have problems with the following references:
In org.eclipsetrade.internal.markets, the following references in the following java programs can not be located:
- In ExclusionScheduleEditor.java
import org.eclipse.nebula.widgets.cdatetime.CDateTimeCellEditor;
Can anyone help with this. Apparently this function is not in org.eclipse.nebula.widgets.cdatetime.
comment:4 Changed 2 years ago by zoubata
hi, I'm at this point also,i have just chechout eclipsetrade, update the seting of project to use last jre 1.6.0.3.
I have an error about org.eclipse.nebula.widgets.cdatetime.CDateTimeCellEditor importation I don't know where i can find the good jar to solve this issue. if some one can help me. I'm a newbee with eclipsetrader, I know java, and the basis of eclipse, but that all.
Thank's
comment:5 Changed 2 years ago by zoubata
the solution is on tick 52 . see : http://www.eclipsetrader.org/wiki/DevelopmentSetup


This is due to an error in the project settings. Namely the .classpath files in org.eclipsetrader.* and javax.xml.bind need to be changed from
to
javax.xml.bind/.classpath org.eclipsetrader.archipelago/.classpath org.eclipsetrader.borsaitalia/.classpath org.eclipsetrader.brokers.paper/.classpath org.eclipsetrader.brokers.paper.tests/.classpath org.eclipsetrader.core/.classpath org.eclipsetrader.core.charts/.classpath org.eclipsetrader.core.charts.tests/.classpath org.eclipsetrader.core.tests/.classpath org.eclipsetrader.core.trading/.classpath org.eclipsetrader.directa/.classpath org.eclipsetrader.directa.tests/.classpath org.eclipsetrader.directaworld/.classpath org.eclipsetrader.news/.classpath org.eclipsetrader.news.tests/.classpath org.eclipsetrader.opentick/.classpath org.eclipsetrader.opentick.tests/.classpath org.eclipsetrader.platform/.classpath org.eclipsetrader.platform.doc.isv/.classpath org.eclipsetrader.platform.doc.user/.classpath org.eclipsetrader.releng/.svn/text-base/EclipseTrader.launch.svn-base org.eclipsetrader.releng/EclipseTrader-1.launch org.eclipsetrader.releng/EclipseTrader.launch org.eclipsetrader.repository.local/.classpath org.eclipsetrader.repository.local.tests/.classpath org.eclipsetrader.tests/.classpath org.eclipsetrader.tests.core/.classpath org.eclipsetrader.ui/.classpath org.eclipsetrader.ui.application/.classpath org.eclipsetrader.ui.charts/.classpath org.eclipsetrader.ui.charts.indicators/.classpath org.eclipsetrader.ui.charts.tests/.classpath org.eclipsetrader.ui.tests/.classpath org.eclipsetrader.ui.trading/.classpath org.eclipsetrader.yahoo/.classpath org.eclipsetrader.yahoo.tests/.classpath
You can do this manually in eclipse by changing the Java build path in each project and selecting "java build path", select the Libraries tab, Select the JRE system library and change it to JavaSE-1.6.
Alternatively do a find and replace of J2SE-1.5 with JavaSE-1.6 in all .classpath files of the org.eclipsetrader.* folders. I should create a patch file to do this automatically. Or, if I can manage to get svn rights, I will submit my changes.
NOTE: these changes allow the system to build, haven't run it yet though.