Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compiled SRS shows nothing in browser #89

Closed
antonxt opened this issue May 2, 2014 · 5 comments
Closed

Compiled SRS shows nothing in browser #89

antonxt opened this issue May 2, 2014 · 5 comments

Comments

@antonxt
Copy link

antonxt commented May 2, 2014

After I cloned files from this repository, not from the one I forked before, the errors while building SRS no longer appear (#87).

However, the resulting XML show nothing when I open thindeck\target\requsindex.xml in IE11 or latest Chrome.

@yegor256, can you, please, help me with this?

Here is the build log:

C:\Users\anton_000\Google Drive\GitHub\thindeck>mvn clean requs:compile
[INFO] Scanning for projects...
[INFO]
[INFO] Using the builder org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder with a thread count of 1
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building thindeck 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ thindeck ---
[INFO] Deleting C:\Users\anton_000\Google Drive\GitHub\thindeck\target
[INFO]
[INFO] --- requs-maven-plugin:1.6.4:compile (default-cli) @ thindeck ---
log4j:WARN No appenders could be found for logger (org.jboss.logging).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
[ERROR] JSR-303 validator failed to initialize: Unable to instantiate Configuration. (see http://www.jcabi.com/jcabi-aspects/jsr-303.html)
[INFO] output directory "C:\Users\anton_000\Google Drive\GitHub\thindeck\target\requs" created
[INFO] jcabi-aspects 0.14/af16bab started new daemon thread jcabi-loggable for watching of @Loggable annotated methods
[INFO] Scaffolding() done
[INFO] source file: C:\Users\anton_000\Google Drive\GitHub\thindeck\src\main\requs\app.req
[INFO] source file: C:\Users\anton_000\Google Drive\GitHub\thindeck\src\main\requs\main.req
[INFO] Aggregate() done
[INFO] #load(): 60 attribs loaded from 74 URL(s) in 33ms: ["Ant-Version", "Archiver-Version", "Bnd-LastModified", "Build-Jdk", "Build-Timestamp", "Built-By", "Bundle-ActivationPolicy", "Bundle-Activator", "Bundle-Copyright", "Bundle-Description", "Bundle-DocURL", "Bundle-License", "Bundle-ManifestVersion", "Bundle-Name", "Bundle-RequiredExecutionEnvironment", "Bundle-SymbolicName", "Bundle-Vendor", "Bundle-Version", "Created-By", "DynamicImport-Package", "Eclipse-ExtensibleAPI", "Export-Package"
, "Extension-Name", "Ignore-Package", "Implementation-Build", "Implementation-Title", "Implementation-URL", "Implementation-Vendor", "Implementation-Vendor-Id", "Implementation-Version", "Import-Package", "Include-Resource", "JCabi-Build", "JCabi-Date", "JCabi-Version", "Java-Vendor", "Java-Version", "Main-Class", "Manifest-Version", "Originally-Created-By", "Os-Arch", "Os-Name", "Os-Version", "Package", "Project-Name", "Require-Bundle", "Requs-Date", "Requs-Revision", "Requs-Version", "Scm-Conn
ection", "Scm-Revision", "Scm-Url", "Sealed", "Specification-Title", "Specification-Vendor", "Specification-Version", "Tool", "X-Compile-Source-JDK", "X-Compile-Target-JDK", "url"]
[INFO] AntlrFacet() done
[INFO] Sealed() done
[INFO] Transform(main.xml, sanity/signatures-check.xsl) done
[INFO] Transform(main.xml, sanity/types-check.xsl) done
[INFO] Transform(main.xml, sanity/seals-check.xsl) done
[INFO] MdMethods() done
[INFO] Overall() done
[INFO] Tbds() done
[INFO] Nfrs() done
[INFO] compiled and saved to C:\Users\anton_000\Google Drive\GitHub\thindeck\target\requs
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
@yegor256
Copy link
Owner

yegor256 commented May 2, 2014

Try to open target/requs/index.xml in Firefox. Should work.

@antonxt
Copy link
Author

antonxt commented May 2, 2014

@yegor256, you are right, in works in Firefox. But it worked in IE before.

@antonxt antonxt closed this as completed May 2, 2014
@antonxt antonxt reopened this May 2, 2014
@antonxt
Copy link
Author

antonxt commented May 2, 2014

@yegor256, shall we consider the mentioned browser incompatibility as a bug?
Your article says:

Once compiled, I can open the SRS in any browser. It is in target/requs/index.xml. Even though it is an XML file, Google Chrome and Safari can open it as a webpage.

As I said, the resulting XML is not working in Chrome (and in IE, but you didn't mention it).

@antonxt antonxt closed this as completed May 2, 2014
@antonxt antonxt reopened this May 2, 2014
@yegor256
Copy link
Owner

yegor256 commented May 2, 2014

Yeah, I think it's bug to reported to requs project. Please do it.

@antonxt
Copy link
Author

antonxt commented May 2, 2014

Sure. Done

@antonxt antonxt closed this as completed May 2, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants