Re: [Xbrlapi-developer] Trouble compiling
Brought to you by:
shuetrim
From: Justin L. <jus...@gm...> - 2016-03-04 12:30:33
|
That's what I was thinking, but I wanted to make sure. Thanks! Justin On Thu, Mar 3, 2016 at 10:52 PM, Geoff Shuetrim <ge...@ga...> wrote: > That test case should not be part of the core XBRL API module. It should > instead be a part of the XDT module testing. I will try to refactor it > when I get a chance but in the meantime it would be safe to move the test > case to the XDT module yourself or just delete it entirely. > > Regards > > Geoff S > > On 4 March 2016 at 14:36, Justin Lottes <jus...@gm...> wrote: > >> I'm sorry, I don't think I was clear in my previous email and subject. >> I've downloaded the XBRL API source and am trying to build the xbrlapi >> module library when I am getting the compile error. >> >> DOMLoadingTestCase resides in org.xbrlapi. It imports LoaderImpl from >> org.xbrlapi.xdt. This import is failing. How can I build the xbrlapi-api >> library (which depends on xbrlapi-xdt library) when xbrlapi-xdt depends on >> xbrlapi-api library? It seems like a chicken and egg thing. Are you >> saying I need an old xbrlapi-api.jar in order to build a new >> xbrlapi-api.jar? >> >> On Thu, Mar 3, 2016 at 9:51 PM, Geoff Shuetrim <ge...@ga...> wrote: >> >>> Hi Justin, >>> >>> When running DOMLoadingTestCase, you need to have the XDT module jar >>> file as well as the core XBRLAPI module jar file in the classpath. You >>> should just be able to download both of them from Sourceforge. >>> >>> Geoff S >>> >>> On 4 March 2016 at 13:45, Justin Lottes <jus...@gm...> wrote: >>> >>>> Hello. I've downloaded the source, installed all the dependencies and >>>> updated the test.configuration.properties file. >>>> >>>> I'm brand new to Maven (which may be my problem), so forgive me >>>> ignorance. The error is occuring in the file >>>> >>>> - >>>> C:\Users\Justin\Documents\NetBeansProjects\xbrlapi-source\xbrlapi-org_xbrlapi\org.xbrlapi\module-api\src\main\java\org\xbrlapi\DOMLoadingTestCase.java >>>> >>>> It's complaining about line 12, which is an import for >>>> org.xbrlapi.xdt.LoaderImpl, which is XBRLAPI XDT implementation. I tried >>>> making the API dependent on XDT Implementation, however, XDT Implementation >>>> is already dependent on API, which created a cyclic dependency, and maven >>>> yelled at me. Not sure what I'm doing wrong, any help would be appreciated. >>>> >>>> I've pasted the error message below... >>>> >>>> Thanks, >>>> >>>> Justin >>>> >>>> >>>> [ERROR] Failed to execute goal >>>> org.apache.maven.plugins:maven-compiler-plugin:3.1:compile >>>> (default-compile) on project xbrlapi-api: Compilation failure: Compilation >>>> failure: >>>> [ERROR] >>>> /C:/Users/Justin/Documents/xbrlapi-org_xbrlapi-d772f1fc4fa4e6663e01a2e700066f5c8043bf96/org.xbrlapi/module-api/src/main/java/org/xbrlapi/DOMLoadingTestCase.java:[12,23] >>>> package org.xbrlapi.xdt does not exist >>>> [ERROR] >>>> /C:/Users/Justin/Documents/xbrlapi-org_xbrlapi-d772f1fc4fa4e6663e01a2e700066f5c8043bf96/org.xbrlapi/module-api/src/main/java/org/xbrlapi/DOMLoadingTestCase.java:[51,30] >>>> cannot find symbol >>>> [ERROR] symbol: class LoaderImpl >>>> [ERROR] location: class org.xbrlapi.DOMLoadingTestCase >>>> [ERROR] -> [Help 1] >>>> [ERROR] >>>> [ERROR] To see the full stack trace of the errors, re-run Maven with >>>> the -e switch. >>>> [ERROR] Re-run Maven using the -X switch to enable full debug logging. >>>> [ERROR] >>>> [ERROR] For more information about the errors and possible solutions, >>>> please read the following articles: >>>> [ERROR] [Help 1] >>>> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException >>>> [ERROR] >>>> [ERROR] After correcting the problems, you can resume the build with >>>> the command >>>> [ERROR] mvn <goals> -rf :xbrlapi-api >>>> >>>> >>>> C:\Users\Justin\Documents\xbrlapi-org_xbrlapi-d772f1fc4fa4e6663e01a2e700066f5c8043bf96\org.xbrlapi> >>>> >>>> -- >>>> This e-mail message is confidential, intended for the recipient(s) >>>> named above and may contain information that is privileged, exempt from >>>> disclosure under applicable law. If you are not the intended recipient, do >>>> not disclose or disseminate this message to anyone except the intended >>>> recipient. If you have received this message in error, or are not the >>>> named recipient(s), please immediately notify the sender by return e-mail, >>>> and delete all copies of this message. >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> Site24x7 APM Insight: Get Deep Visibility into Application Performance >>>> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month >>>> Monitor end-to-end web transactions and take corrective actions now >>>> Troubleshoot faster and improve end-user experience. Signup Now! >>>> http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140 >>>> _______________________________________________ >>>> Xbrlapi-developer mailing list >>>> Xbr...@li... >>>> https://lists.sourceforge.net/lists/listinfo/xbrlapi-developer >>>> >>>> >>> >> >> >> -- >> This e-mail message is confidential, intended for the recipient(s) named >> above and may contain information that is privileged, exempt from >> disclosure under applicable law. If you are not the intended recipient, do >> not disclose or disseminate this message to anyone except the intended >> recipient. If you have received this message in error, or are not the >> named recipient(s), please immediately notify the sender by return e-mail, >> and delete all copies of this message. >> > > -- This e-mail message is confidential, intended for the recipient(s) named above and may contain information that is privileged, exempt from disclosure under applicable law. If you are not the intended recipient, do not disclose or disseminate this message to anyone except the intended recipient. If you have received this message in error, or are not the named recipient(s), please immediately notify the sender by return e-mail, and delete all copies of this message. |