Missing PDB in Open Cover - msbuild

below is the Line of code I am writing to execute open Cover
<Target Name="Build">
<!--NUnit-->
<Exec Command="...\WcfServiceLibrary1\thirdparty\tools\NUnit\nunit-console-x86.exe ...\WcfServiceLibrary1\UnitTestProject1\bin\Debug\UnitTestProject1.dll /xml=...\WcfServiceLibrary1\TestResult.xml" />
<!--Open Cover-->
<Exec Command="...\WcfServiceLibrary1\thirdparty\tools\OpenCover\OpenCover.console.exe -register:user -target:...\WcfServiceLibrary1\thirdparty\tools\NUnit\nunit-console-x86.exe -targetargs:...\WcfServiceLibrary1\UnitTestProject1\bin\Debug\UnitTestProject1.dll /noshadow -output:...\WcfServiceLibrary1\Coverage.xml" />
<!--Report generator-->
<Exec Command="...\WcfServiceLibrary1\thirdparty\tools\OpenCover\CoverageReport\ReportGenerator.exe -reports:mycoveragereport.xml -targetdir:...\WcfServiceLibrary1\mycoveragereport.xml" />
</Target>
Now the Coverage Report That I am getting is having missing PDB's statement
<?xml version="1.0" encoding="utf-8"?>
<CoverageSession xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Summary numSequencePoints="0" visitedSequencePoints="0" numBranchPoints="0" visitedBranchPoints="0" sequenceCoverage="0" branchCoverage="0" maxCyclomaticComplexity="0" minCyclomaticComplexity="0" />
<Modules>
<Module skippedDueTo="Filter" hash="B5-EF-91-87-52-88-4E-B0-F8-8C-F4-4C-97-10-C8-D0-C0-7E-55-19">
<FullName>C:\Windows\assembly\GAC_32\mscorlib\2.0.0.0__b77a5c561934e089\mscorlib.dll</FullName>
<ModuleName>mscorlib</ModuleName>
<Classes />
</Module>
<Module skippedDueTo="Filter" hash="F9-04-A8-31-CD-FB-23-72-95-63-5D-14-9A-A0-66-8E-7F-44-93-7A">
<FullName>C:\Windows\assembly\GAC_32\mscorlib\2.0.0.0__b77a5c561934e089\sorttbls.nlp</FullName>
<ModuleName>mscorlib</ModuleName>
<Classes />
</Module>
<Module skippedDueTo="MissingPdb" hash="DD-C7-B8-46-28-B0-4A-0B-84-CB-A2-DD-7F-EC-4A-98-75-61-4C-17">
<FullName>...\WcfServiceLibrary1\thirdparty\tools\NUnit\nunit-console-x86.exe</FullName>
<ModuleName>nunit-console-x86</ModuleName>
<Classes />
</Module>
<Module skippedDueTo="Filter" hash="6E-30-2E-50-36-FB-60-2C-8E-50-C0-83-54-8B-CC-EA-A8-91-B6-CC">
<FullName>C:\Windows\assembly\GAC_32\mscorlib\2.0.0.0__b77a5c561934e089\sortkey.nlp</FullName>
<ModuleName>mscorlib</ModuleName>
<Classes />
</Module>
<Module skippedDueTo="MissingPdb" hash="79-F8-9A-22-4E-29-52-37-00-CF-81-FF-1F-EA-05-EC-74-2A-2E-C8">
<FullName>...\WcfServiceLibrary1\thirdparty\tools\NUnit\lib\nunit-console-runner.dll</FullName>
<ModuleName>nunit-console-runner</ModuleName>
<Classes />
</Module>
<Module skippedDueTo="MissingPdb" hash="23-35-8C-86-05-D5-AE-FE-3C-1F-09-A0-86-02-40-7C-4F-CA-59-41">
<FullName>...\WcfServiceLibrary1\thirdparty\tools\NUnit\lib\nunit.core.dll</FullName>
<ModuleName>nunit.core</ModuleName>
<Classes />
</Module>
<Module skippedDueTo="MissingPdb" hash="57-DD-20-42-DA-33-B3-EE-DA-8C-8E-25-C9-E5-07-B5-08-62-0F-88">
<FullName>...\WcfServiceLibrary1\thirdparty\tools\NUnit\lib\nunit.util.dll</FullName>
<ModuleName>nunit.util</ModuleName>
<Classes />
</Module>
<Module skippedDueTo="MissingPdb" hash="AD-76-2F-3C-5E-F6-77-0D-C6-AD-AF-A3-90-85-28-07-2D-A0-59-50">
<FullName>...\WcfServiceLibrary1\thirdparty\tools\NUnit\lib\nunit.core.interfaces.dll</FullName>
<ModuleName>nunit.core.interfaces</ModuleName>
<Classes />
</Module>
<Module skippedDueTo="Filter" hash="2C-99-EE-29-D5-25-03-C4-0E-40-26-9B-F7-DF-C2-68-6E-74-74-31">
<FullName>C:\Windows\assembly\GAC_MSIL\System.Configuration\2.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll</FullName>
<ModuleName>System.Configuration</ModuleName>
<Classes />
</Module>
<Module skippedDueTo="Filter" hash="D3-99-70-9D-4C-FD-70-CC-82-00-AA-75-7A-54-8C-25-AC-54-B1-BF">
<FullName>C:\Windows\assembly\GAC_MSIL\System\2.0.0.0__b77a5c561934e089\System.dll</FullName>
<ModuleName>System</ModuleName>
<Classes />
</Module>
<Module skippedDueTo="Filter" hash="C4-AD-0A-97-FF-1D-61-5F-88-89-A6-25-BD-02-5E-E5-F5-1D-6F-20">
<FullName>C:\Windows\assembly\GAC_MSIL\System.Xml\2.0.0.0__b77a5c561934e089\System.Xml.dll</FullName>
<ModuleName>System.Xml</ModuleName>
<Classes />
</Module>
<Module skippedDueTo="Filter" hash="92-44-10-37-4C-84-2D-65-E3-A0-6A-B9-9F-01-42-6A-27-41-4A-8C">
<FullName>C:\Windows\assembly\GAC_MSIL\System.Runtime.Remoting\2.0.0.0__b77a5c561934e089\System.Runtime.Remoting.dll</FullName>
<ModuleName>System.Runtime.Remoting</ModuleName>
<Classes />
</Module>
<Module skippedDueTo="Filter" hash="94-1E-7C-FB-9C-23-D5-E1-43-03-B3-3C-0B-35-BB-9A-83-CC-9B-65">
<FullName>C:\Windows\Microsoft.Net\assembly\GAC_32\mscorlib\v4.0_4.0.0.0__b77a5c561934e089\mscorlib.dll</FullName>
<ModuleName>mscorlib</ModuleName>
<Classes />
</Module>
<Module skippedDueTo="MissingPdb" hash="6D-DC-5C-CD-CD-17-D8-34-8A-02-0A-F6-CB-BC-84-81-BD-88-CB-86">
<FullName>...\WcfServiceLibrary1\thirdparty\tools\NUnit\nunit-agent-x86.exe</FullName>
<ModuleName>nunit-agent-x86</ModuleName>
<Classes />
</Module>
<Module skippedDueTo="MissingPdb" hash="23-35-8C-86-05-D5-AE-FE-3C-1F-09-A0-86-02-40-7C-4F-CA-59-41">
<FullName>...\WcfServiceLibrary1\thirdparty\tools\NUnit\lib\nunit.core.dll</FullName>
<ModuleName>nunit.core</ModuleName>
<Classes />
</Module>
<Module skippedDueTo="MissingPdb" hash="57-DD-20-42-DA-33-B3-EE-DA-8C-8E-25-C9-E5-07-B5-08-62-0F-88">
<FullName>...\WcfServiceLibrary1\thirdparty\tools\NUnit\lib\nunit.util.dll</FullName>
<ModuleName>nunit.util</ModuleName>
<Classes />
</Module>
<Module skippedDueTo="MissingPdb" hash="AD-76-2F-3C-5E-F6-77-0D-C6-AD-AF-A3-90-85-28-07-2D-A0-59-50">
<FullName>...\WcfServiceLibrary1\thirdparty\tools\NUnit\lib\nunit.core.interfaces.dll</FullName>
<ModuleName>nunit.core.interfaces</ModuleName>
<Classes />
</Module>
<Module skippedDueTo="Filter" hash="98-5B-33-BC-92-AB-DB-88-FE-EC-F2-8F-04-5B-06-B6-ED-05-0B-00">
<FullName>C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll</FullName>
<ModuleName>System</ModuleName>
<Classes />
</Module>
<Module skippedDueTo="Filter" hash="84-64-E1-D2-0A-E2-91-23-AD-BD-B9-7A-3C-89-7B-66-65-58-46-1C">
<FullName>C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Runtime.Remoting\v4.0_4.0.0.0__b77a5c561934e089\System.Runtime.Remoting.dll</FullName>
<ModuleName>System.Runtime.Remoting</ModuleName>
<Classes />
</Module>
<Module skippedDueTo="Filter" hash="E3-30-C9-0B-9B-B1-9B-30-08-04-31-DB-0F-94-7C-B3-A9-8B-5B-75">
<FullName>C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll</FullName>
<ModuleName>System.Configuration</ModuleName>
<Classes />
</Module>
<Module skippedDueTo="Filter" hash="A0-AB-0F-DB-C8-A9-ED-50-B7-8B-8A-F2-59-CF-35-5E-E5-F6-78-AF">
<FullName>C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Xml\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.dll</FullName>
<ModuleName>System.Xml</ModuleName>
<Classes />
</Module>
<Module skippedDueTo="Filter" hash="7E-B6-09-DE-71-47-47-2D-10-E4-4A-18-28-FB-3D-17-16-8C-88-6D">
<FullName>C:\Windows\Microsoft.Net\assembly\GAC_32\System.Web\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.dll</FullName>
<ModuleName>System.Web</ModuleName>
<Classes />
</Module>
<Module skippedDueTo="Filter" hash="9F-62-A2-66-54-66-BC-CE-FD-0D-1B-20-6E-F7-50-CC-76-C2-6F-D4">
<FullName>C:\Windows\assembly\GAC_32\System.Web\2.0.0.0__b03f5f7f11d50a3a\System.Web.dll</FullName>
<ModuleName>System.Web</ModuleName>
<Classes />
</Module>
<Module skippedDueTo="MissingPdb" hash="23-35-8C-86-05-D5-AE-FE-3C-1F-09-A0-86-02-40-7C-4F-CA-59-41">
<FullName>...\WcfServiceLibrary1\thirdparty\tools\NUnit\lib\nunit.core.dll</FullName>
<ModuleName>nunit.core</ModuleName>
<Classes />
</Module>
<Module skippedDueTo="Filter" hash="98-5B-33-BC-92-AB-DB-88-FE-EC-F2-8F-04-5B-06-B6-ED-05-0B-00">
<FullName>C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll</FullName>
<ModuleName>System</ModuleName>
<Classes />
</Module>
<Module skippedDueTo="MissingPdb" hash="C8-69-A6-5A-0E-1E-E0-29-EB-EF-CA-C5-2C-E2-B7-EB-F6-D9-64-1A">
<FullName>...\WcfServiceLibrary1\thirdparty\tools\NUnit\pnunit.framework.dll</FullName>
<ModuleName>pnunit.framework</ModuleName>
<Classes />
</Module>
<Module skippedDueTo="MissingPdb" hash="F9-30-3E-D0-DF-D4-B8-50-24-2D-CB-99-08-61-9C-77-28-1C-6D-29">
<FullName>...\WcfServiceLibrary1\thirdparty\tools\NUnit\pnunit-agent.exe</FullName>
<ModuleName>pnunit-agent</ModuleName>
<Classes />
</Module>
<Module skippedDueTo="MissingPdb" hash="AD-76-2F-3C-5E-F6-77-0D-C6-AD-AF-A3-90-85-28-07-2D-A0-59-50">
<FullName>...\WcfServiceLibrary1\thirdparty\tools\NUnit\lib\nunit.core.interfaces.dll</FullName>
<ModuleName>nunit.core.interfaces</ModuleName>
<Classes />
</Module>
<Module skippedDueTo="MissingPdb" hash="50-42-5D-72-64-97-F8-84-32-24-43-4B-DF-ED-F6-E0-13-A5-E5-0D">
<FullName>...\AppData\Local\Temp\nunit20\ShadowCopyCache\4380_635168510637584953\Tests_111289631\assembly\dl3\f065302a\85aa24e8_1fc4ce01\UnitTestProject1.dll</FullName>
<ModuleName>UnitTestProject1</ModuleName>
<Classes />
</Module>
<Module skippedDueTo="MissingPdb" hash="13-4C-94-D1-A1-A5-D9-8F-F1-E4-CE-A7-87-EF-CC-42-FC-6B-CA-BC">
<FullName>...\AppData\Local\Temp\nunit20\ShadowCopyCache\4380_635168510637584953\Tests_111289631\assembly\dl3\f468205a\003c8368_6cb0cd01\nunit.framework.dll</FullName>
<ModuleName>nunit.framework</ModuleName>
<Classes />
</Module>
<Module skippedDueTo="MissingPdb" hash="79-F8-9A-22-4E-29-52-37-00-CF-81-FF-1F-EA-05-EC-74-2A-2E-C8">
<FullName>...\WcfServiceLibrary1\thirdparty\tools\NUnit\lib\nunit-console-runner.dll</FullName>
<ModuleName>nunit-console-runner</ModuleName>
<Classes />
</Module>
<Module skippedDueTo="Filter" hash="84-64-E1-D2-0A-E2-91-23-AD-BD-B9-7A-3C-89-7B-66-65-58-46-1C">
<FullName>C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Runtime.Remoting\v4.0_4.0.0.0__b77a5c561934e089\System.Runtime.Remoting.dll</FullName>
<ModuleName>System.Runtime.Remoting</ModuleName>
<Classes />
</Module>
<Module skippedDueTo="Filter" hash="E3-30-C9-0B-9B-B1-9B-30-08-04-31-DB-0F-94-7C-B3-A9-8B-5B-75">
<FullName>C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll</FullName>
<ModuleName>System.Configuration</ModuleName>
<Classes />
</Module>
<Module skippedDueTo="Filter" hash="A0-AB-0F-DB-C8-A9-ED-50-B7-8B-8A-F2-59-CF-35-5E-E5-F6-78-AF">
<FullName>C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Xml\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.dll</FullName>
<ModuleName>System.Xml</ModuleName>
<Classes />
</Module>
<Module skippedDueTo="MissingPdb" hash="FF-78-B2-8E-E7-37-5C-12-16-D2-B5-9F-24-7A-E2-2D-4B-AC-F2-3D">
<FullName>...\AppData\Local\Temp\nunit20\ShadowCopyCache\4380_635168510637584953\Tests_111289631\assembly\dl3\78ee3213\e91005a5_1fc4ce01\WcfServiceLibrary1.dll</FullName>
<ModuleName>WcfServiceLibrary1</ModuleName>
<Classes />
</Module>
</Modules>
</CoverageSession>
I have created the pdbs in the respective folders where the dlls are residing still cannot figure out why OpenCover is not able to find them. Please help. Thanks in advance

You either need to use /noshadow when executing nunit or you need to use -targetdir: with OpenCover.
Now I can see that you trying to use /noshadow but it looks like you may not have constructed your command line properly (it could just be wrong as you have modified it to hide paths and inadvertently edited it).
You need to use quotes to ensure all you arguments that you intend to send to nunit stay together but because you are using msbuild you need to escape them i.e.
<Exec Command=""...\WcfServiceLibrary1\thirdparty\tools\OpenCover\OpenCover.console.exe" -register:user "-target:...\WcfServiceLibrary1\thirdparty\tools\NUnit\nunit-console-x86.exe" "-targetargs:...\WcfServiceLibrary1\UnitTestProject1\bin\Debug\UnitTestProject1.dll /noshadow" "-output:...\WcfServiceLibrary1\Coverage.xml"" />

Related

IntelliJ Idea 2018.2 - File Status Highlights: red/brown

I have the current status of my files in the folders coloured red/brown.
I tried to follow previous discussion on stackoverflow to solve the problem but without result.
How can get rid of the red colour of the file?
What is the correct settings?
with pom.xml
> <?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<groupId>delta.project</groupId>
<artifactId>books</artifactId>
<version>1.0-SNAPSHOT</version>
<modelVersion>4.0.0</modelVersion>
<properties>
<maven.compiler.source>10</maven.compiler.source>
<maven.compiler.target>10</maven.compiler.target>
</properties>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.12</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-all</artifactId>
<version>1.9.5</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>2.4</version>
<configuration>
<archive>
<manifest>
<mainClass>app.Run</mainClass>
</manifest>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>10</source>
<target>10</target>
</configuration>
</plugin>
</plugins>
</build>
</project>
and iml file:
<?xml version="1.0" encoding="UTF-8"?>
<module org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true" type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_10">
<output url="file://$MODULE_DIR$/target/classes" />
<output-test url="file://$MODULE_DIR$/target/test-classes" />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src/test/java" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/src/test/resources" type="java-test-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/main/resources" type="java-resource" />
<excludeFolder url="file://$MODULE_DIR$/target" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" scope="TEST" name="Maven: junit:junit:4.12" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: org.hamcrest:hamcrest-core:1.3" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: org.mockito:mockito-all:1.9.5" level="project" />
</component>
</module>
Screenshot of my configuration of the project:
modules:
dependencies:
This is a version control feature that marks files that hasn't been staged yet this color.
To remove this behaviour go to
Settings -> Version Control -> File Status Colors
where you can set colors for all statuses or disable them by removing the checkmark from the "File status color" field.
This is because the files are not added into your version control, e.g. Git. Try to select the files, right click, and add them to version control. After that, they should turn into green.

Unable to create class CompatibilityView

i'am new in Eclipse RCP. I try to build an RCP project on base of E4 with the default project explorer. I found this two tutorials: dirksmetric.wordpress.com/2012/08/01/tutorial-eclipse-rcp-e4-with-3-x-views-like-project-explorer-properties-etc/ vogella.com/tutorials/Eclipse4MigrationGuide/article.html
After all i have an window with parts but the project explorer is not loaded. This is the stackstrace from log.
!ENTRY org.eclipse.e4.ui.workbench 4 0 2017-07-14 12:11:32.706
!MESSAGE Unable to create class 'org.eclipse.ui.internal.e4.compatibility.CompatibilityView' from bundle '86'
!STACK 0
org.eclipse.e4.core.di.InjectionException: Could not find satisfiable constructor in org.eclipse.ui.internal.e4.compatibility.CompatibilityView
at org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.java:408)
at org.eclipse.e4.core.internal.di.InjectorImpl.make(InjectorImpl.java:318)
at org.eclipse.e4.core.contexts.ContextInjectionFactory.make(ContextInjectionFactory.java:162)
at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.createFromBundle(ReflectionContributionFactory.java:105)
at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.doCreate(ReflectionContributionFactory.java:74)
at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.create(ReflectionContributionFactory.java:56)
at org.eclipse.e4.ui.workbench.renderers.swt.ContributedPartRenderer.createWidget(ContributedPartRenderer.java:129)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createWidget(PartRenderingEngine.java:997)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:666)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$1.run(PartRenderingEngine.java:551)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:535)
at org.eclipse.e4.ui.workbench.renderers.swt.ElementReferenceRenderer.createWidget(ElementReferenceRenderer.java:70)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createWidget(PartRenderingEngine.java:997)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:666)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:772)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$0(PartRenderingEngine.java:743)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$2.run(PartRenderingEngine.java:737)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:721)
at org.eclipse.e4.ui.workbench.renderers.swt.StackRenderer.showTab(StackRenderer.java:1289)
at org.eclipse.e4.ui.workbench.renderers.swt.LazyStackRenderer.lambda$0(LazyStackRenderer.java:68)
at org.eclipse.e4.ui.services.internal.events.UIEventHandler$1.run(UIEventHandler.java:40)
at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:233)
at org.eclipse.swt.widgets.Display.syncExec(Display.java:5439)
this ist my plugin.xml
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<plugin>
<extension
id="product_spside"
point="org.eclipse.core.runtime.products"> <!-- org.eclipse.core.runtime.applications -->
<product application="org.eclipse.e4.ui.workbench.swt.E4Application" name="SPS IDE">
<!-- org.eclipse.e4.ui.workbench.swt.E4Application -->
<property name="appName" value="SPS IDE"> </property>
<property name="applicationXMI" value="spside.rcp/Application.e4xmi"> </property>
</product>
<!-- <application>
<run
class="spside.rcp.Application">
</run>
</application>-->
</extension>
<!-- <extension point="org.eclipse.ui.perspectives">
<perspective
name="RCP Perspective"
class="spside.rcp.Perspective"
id="spside.rcp.perspective">
</perspective>
</extension>-->
</plugin>
I try all tipps from google but i have no idea what to do.
thanks for help!
I made a new RCP project from scratch like in this tutorial and it worked. After this, I realized that my pom.xml of the original project looks different to the new one.
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<plugin>
<extension
id="application"
point="org.eclipse.core.runtime.applications">
<application>
<run
class="spside.rcp.Application">
</run>
</application>
</extension>
<extension
point="org.eclipse.ui.perspectives">
<perspective
name="Perspective"
class="spside.rcp.Perspective"
id="spside.rcp.perspective">
</perspective>
</extension>
<extension
point="org.eclipse.ui.views">
<view
name="View"
inject="true"
class="spside.rcp.View"
id="spside.rcp.view">
</view>
</extension>
<extension
point="org.eclipse.ui.perspectiveExtensions">
<perspectiveExtension
targetID="*">
<view
standalone="true"
minimized="false"
relative="org.eclipse.ui.editorss"
relationship="left"
id="spside.rcp.view">
</view>
</perspectiveExtension>
</extension>
<extension
point="org.eclipse.ui.menus">
<menuContribution
locationURI="menu:org.eclipse.ui.main.menu">
<menu
label="File">
<command
commandId="org.eclipse.ui.file.exit"
label="Exit">
</command>
</menu>
</menuContribution>
</extension>
<extension id="product_test" point="org.eclipse.core.runtime.products">
<product application="spside.rcp.application" name="My Product">
<property name="appName" value="SPS IDE"> </property>
<property name="applicationXMI" value="spside.rcp/Application.e4xmi"> </property>
</product>
</extension>
</plugin>
I think the main problem was that I didn't initialize the 3.x Components in the first extension. The next problem was that the second extension point must target to the same id: id="spside.rcp.perspective" as in the Application.e4xmi.

How to import Checkstyle rules from XML file in IntelliJ IDEA?

I know there is QAPlug - Checkstyle and I'm trying to use it.
In menu Project Settings -> QAPlug -> Checkstyle I set Xml configuration file and Jar file as well. Then when Check loaded rules button is pressed such a message pops up:
That's very kind of this plugin it has found rules in XML file. Why isn't it loading them though?
Checkstyle configuration file I'm using:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE module PUBLIC "-//Puppy Crawl//DTD Check Configuration 1.3//EN" "http://www.puppycrawl.com/dtds/configuration_1_3.dtd">
<module name="Checker">
<property name="severity" value="error"/>
<module name="TreeWalker">
<property name="cacheFile" value="build/checkstyle.cache"/>
<module name="FileContentsHolder"/>
<module name="RegexpSinglelineJava">
<property name="format" value="\s+$"/>
<property name="message" value="Line has trailing spaces."/>
<property name="ignoreComments" value="true"/>
</module>
<module name="RegexpSinglelineJava">
<property name="format" value="^\t* +\t*\S"/>
<property name="message"
value="Line has leading space characters; indentation should be performed with tabs only."/>
<property name="ignoreComments" value="true"/>
</module>
<module name="ConstantName"/>
<module name="LocalFinalVariableName"/>
<module name="LocalVariableName"/>
<module name="MemberName"/>
<module name="MethodName"/>
<module name="PackageName"/>
<module name="ParameterName"/>
<module name="StaticVariableName"/>
<module name="TypeName"/>
<module name="AvoidStarImport"/>
<module name="IllegalImport">
<property name="illegalPkgs" value="sun, junit.framework, org.hamcrest.CoreMatchers"/>
</module>
<module name="RedundantImport"/>
<module name="UnusedImports"/>
<module name="ImportOrder">
<property name="groups" value="/^((?!java).)*$/,/javax\./,/java\./"/>
<property name="ordered" value="true"/>
<property name="separated" value="false"/>
<property name="option" value="bottom"/>
</module>
<module name="ParameterAssignment"/>
<module name="LineLength">
<property name="max" value="180"/>
<property name="tabWidth" value="1"/>
<property name="ignorePattern" value="(^import)|(\s*#ScenarioReference)|(\s*#ScenarioDescription)|(\s*title)|(\s*story)|(\s*#Given)|(\s*#When)|(\s*#Then)|(\s*#Alias)"/>
</module>
<module name="MethodLength"/>
<module name="ParameterNumber">
<property name="max" value="8"/>
</module>
<module name="EmptyForIteratorPad"/>
<module name="MethodParamPad"/>
<module name="NoWhitespaceAfter">
<property name="tokens"
value="BNOT,DEC,DOT,INC,LNOT,UNARY_MINUS,UNARY_PLUS"/>
</module>
<module name="NoWhitespaceBefore"/>
<module name="OperatorWrap"/>
<module name="ParenPad"/>
<module name="TypecastParenPad"/>
<module name="WhitespaceAfter"/>
<!--Please be aware of this bug: http://sourceforge.net/p/checkstyle/bugs/593/-->
<!--[checkstyle-bugs-593] WhitespaceAround wrongly targets annotation element arrays-->
<module name="WhitespaceAround">
<property name="allowEmptyConstructors" value="true" />
</module>
<module name="ModifierOrder"/>
<module name="RedundantModifier"/>
<module name="AvoidNestedBlocks"/>
<module name="EmptyBlock"/>
<module name="LeftCurly"/>
<module name="NeedBraces"/>
<module name="RightCurly"/>
<module name="EmptyStatement"/>
<module name="EqualsHashCode"/>
<module name="IllegalInstantiation"/>
<module name="InnerAssignment"/>
<module name="MagicNumber">
<property name="severity" value="warning"/>
<property name="ignoreNumbers" value="-1, 0, 1, 2, 3, 4, -4"/>
</module>
<module name="MissingSwitchDefault"/>
<module name="RedundantThrows"/>
<module name="SimplifyBooleanExpression"/>
<module name="SimplifyBooleanReturn"/>
<module name="FinalClass"/>
<module name="InterfaceIsType"/>
<module name="VisibilityModifier">
<property name="packageAllowed" value="true"/>
<property name="protectedAllowed" value="true"/>
<property name="publicMemberPattern" value="^expectedException$|^temporaryFolder$|^exitRule$|^synchronizedTestRule$|^clearDatabaseRule.*$|^configurationRule$"/>
</module>
<module name="ArrayTypeStyle"/>
<module name="UpperEll"/>
</module>
<module name="Translation"/>
<module name="FileLength"/>
<module name="SuppressionCommentFilter"/>
<module name="SuppressionCommentFilter">
<property name="offCommentFormat" value="CHECKSTYLE\:(\w+)\:OFF"/>
<property name="onCommentFormat" value="CHECKSTYLE\:(\w+)\:ON"/>
<property name="checkFormat" value="$1"/>
</module>
</module>

Wide Logo on start Screen in window store app?

In my app I want set set my default logo as wide logo.When user pin to start my app wide logo will be shown how to do that?
I tried to edit manifest file but every thing is fine there
<?xml version="1.0" encoding="utf-8"?>
<Package xmlns="http://schemas.microsoft.com/appx/2010/manifest" xmlns:m2="http://schemas.microsoft.com/appx/2013/manifest">
<Identity Name="eaccc03b-ad21-4762-9c73-39835d6eb23b" Publisher="CN=Admin" Version="1.0.0.0" />
<Properties>
<DisplayName>App5</DisplayName>
<PublisherDisplayName>Admin</PublisherDisplayName>
<Logo>Assets\StoreLogo.png</Logo>
</Properties>
<Prerequisites>
<OSMinVersion>6.3.0</OSMinVersion>
<OSMaxVersionTested>6.3.0</OSMaxVersionTested>
</Prerequisites>
<Resources>
<Resource Language="x-generate" />
</Resources>
<Applications>
<Application Id="App" Executable="$targetnametoken$.exe" EntryPoint="App5.App">
<m2:VisualElements DisplayName="Kids" Square150x150Logo="Assets\Logo.png" Square30x30Logo="Assets\SmallLogo.png" Description="App5" ForegroundText="light" BackgroundColor="#464646">
<m2:DefaultTile Wide310x150Logo="Assets\WideLogo.png">
<m2:ShowNameOnTiles>
<m2:ShowOn Tile="wide310x150Logo" />
</m2:ShowNameOnTiles>
</m2:DefaultTile>
<m2:SplashScreen Image="Assets\SplashScreen.png" BackgroundColor="#ffffff" />
<m2:InitialRotationPreference>
<m2:Rotation Preference="landscape" />
</m2:InitialRotationPreference>
</m2:VisualElements>
</Application>
</Applications>
<Capabilities>
<Capability Name="internetClient" />
</Capabilities>
</Package>
Just add DefaultSize property:
<m2:DefaultTile Wide310x150Logo="Assets\WideLogo.png" DefaultSize="wide310x150Logo">
...
</m2:DefaultTile>
this will make the Wide Tile as Default tile. if you want the 150*150 logo as default,just change DefaultSize as DefaultSize="square150x150Logo"

SCORM 2004 Sequencing... what am i doing wrong (Passed automatically in LMS)

See my manifest below.
I believe it's correct but still enter to the course in LMS and the items mod01, mod02 and mod03 show "passed" and the sequency show totally open.
<?xml version = "1.0" standalone = "yes"?>
<manifest identifier="com.scorm.golfsamples.contentpackaging.multioscosinglefile.20043rd" version="1"
...
<metadata>
<schema>ADL SCORM</schema>
<schemaversion>2004 3rd Edition</schemaversion>
</metadata>
<organizations default="GESTAO_ESTRATEGICA">
<organization identifier="GESTAO_ESTRATEGICA">
<title>GESTÃO ESTRATÉGICA TESTANDO SESSÃO</title>
<!-- DISCIPLINA 01 -->
<item identifier="mod01">
<title>HABILIDADES GERENCIAIS ESTRATÉGICAS</title>
<!-- TRABALHA SEQUENCIA -->
<imsss:sequencing IDRef="sequencia_principal">
<imsss:objectives>
<!--
Each SCO has a global objective to that can be read by other SCOs to see if it is completed.
This global will be satisfied when the activity is satisfied since it is associated with the
primary objective
-->
<imsss:primaryObjective objectiveID="mod__01">
<imsss:mapInfo targetObjectiveID = "mod_01_OK" readSatisfiedStatus = "true" writeSatisfiedStatus = "true"/>
</imsss:primaryObjective>
</imsss:objectives>
<imsss:deliveryControls completionSetByContent="true" objectiveSetByContent="true"/>
</imsss:sequencing>
<item identifier="capam1" identifierref="capam1">
<title>Sobre o Módulo</title>
</item>
<item identifier="un0001" identifierref="un0001">
<title>Cenário Mercardológico</title>
</item>
<item identifier="un0002" identifierref="un0002">
<title>Case Cirque Du Soleil</title>
</item>
<item identifier="un0003" identifierref="un0003">
<title>Fundamentos da Administração</title>
</item>
<item identifier="un0004" identifierref="un0004">
<title>Planejamento Estratégico</title>
</item>
<item identifier="aval01" isvisible="true" identifierref="aval01_RES">
<title>Avaliação do Módulo</title>
<imsss:sequencing>
<imsss:objectives>
<imsss:primaryObjective objectiveID="PRIMARYOBJ" satisfiedByMeasure="true">
<imsss:deliveryControls completionSetByContent="true" objectiveSetByContent="true"/>
<imsss:minNormalizedMeasure>0.6</imsss:minNormalizedMeasure>
</imsss:primaryObjective>
</imsss:objectives>
<imsss:deliveryControls completionSetByContent="true" objectiveSetByContent="true"/>
</imsss:sequencing>
</item>
</item>
<!-- DISCIPLINA 02 -->
<item identifier="mod02">
<title>MARKETING: UM DIFERENCIAL COMPETITIVO</title>
<!-- TRABALHA SEQUENCIA -->
<imsss:sequencing IDRef="sequencia_principal">
<imsss:sequencingRules>
<imsss:preConditionRule>
<!--
If the previous SCO is not satisfied or the status is unknown, disable this SCO.
Notice that the "not" operator isn't a logical NOT in which all other conditions evaluate
to true. Instead it indicates that "not satisfied" is the only condition that evaluates to true.
-->
<imsss:ruleConditions conditionCombination="any">
<imsss:ruleCondition referencedObjective="previous_sco_satisfied" operator="not" condition="satisfied"/>
<imsss:ruleCondition referencedObjective="previous_sco_satisfied" operator="not" condition="objectiveStatusKnown"/>
</imsss:ruleConditions>
<!-- 'Disabled' will cause the SCO to be visible in the course tree, but not accessible via choice or flow. -->
<imsss:ruleAction action="hiddenFromChoice"/>
</imsss:preConditionRule>
</imsss:sequencingRules>
<imsss:objectives>
<imsss:primaryObjective objectiveID="mod__02">
<imsss:mapInfo targetObjectiveID = "mod_02_OK" readSatisfiedStatus = "true" writeSatisfiedStatus = "true"/>
</imsss:primaryObjective>
<!--
Set up another objective to read the status of this activity's prerequisite. We can then use this objective in
our sequencing rules to disable this activity.
-->
<imsss:objective objectiveID="previous_sco_satisfied">
<imsss:mapInfo targetObjectiveID="mod_01_OK" readSatisfiedStatus="true" writeSatisfiedStatus="false"/>
</imsss:objective>
</imsss:objectives>
<imsss:deliveryControls completionSetByContent="true" objectiveSetByContent="true"/>
</imsss:sequencing>
<item identifier="capam2" identifierref="capam2">
<title>Sobre o Módulo</title>
</item>
<item identifier="un0006" identifierref="un0006">
<title>A Importância do Marketing para Micro, Pequenas e Médias Empresas</title>
</item>
<item identifier="un0007" identifierref="un0007">
<title>O Ambiente de Marketing</title>
</item>
<item identifier="un0008" identifierref="un0008">
<title>Comportamento do Consumidor</title>
</item>
<item identifier="un0009" identifierref="un0009">
<title>O Composto Mercadológico</title>
</item>
<item identifier="un0010" identifierref="un0010">
<title>Estratégias de Marketing e Relacionamento</title>
</item>
<item identifier="un0011" isvisible="true" identifierref="un0011_RES">
<title>Avaliação de Módulo</title>
<imsss:sequencing>
<imsss:objectives>
<imsss:primaryObjective objectiveID="PRIMARYOBJ" satisfiedByMeasure="true">
<imsss:minNormalizedMeasure>0.6</imsss:minNormalizedMeasure>
</imsss:primaryObjective>
</imsss:objectives>
<imsss:deliveryControls completionSetByContent="true" objectiveSetByContent="true"/>
</imsss:sequencing>
</item>
</item>
<!-- DISCIPLINA 03 -->
<item identifier="mod03">
<title>EMPREENDEDORISMO: CRIAÇÃO E GESTÃO DE NOVOS NEGÓCIOS</title>
<!-- TRABALHA SEQUENCIA -->
<imsss:sequencing IDRef="sequencia_principal">
<imsss:sequencingRules>
<imsss:preConditionRule>
<!--
If the previous SCO is not satisfied or the status is unknown, disable this SCO.
Notice that the "not" operator isn't a logical NOT in which all other conditions evaluate
to true. Instead it indicates that "not satisfied" is the only condition that evaluates to true.
-->
<imsss:ruleConditions conditionCombination="any">
<imsss:ruleCondition referencedObjective="previous_sco_satisfied" operator="not" condition="satisfied"/>
<imsss:ruleCondition referencedObjective="previous_sco_satisfied" operator="not" condition="objectiveStatusKnown"/>
</imsss:ruleConditions>
<!-- 'Disabled' will cause the SCO to be visible in the course tree, but not accessible via choice or flow. -->
<imsss:ruleAction action="hiddenFromChoice"/>
</imsss:preConditionRule>
</imsss:sequencingRules>
<imsss:objectives>
<imsss:primaryObjective objectiveID="mod__03">
<imsss:mapInfo targetObjectiveID = "mod_03_OK" readSatisfiedStatus = "true" writeSatisfiedStatus = "true"/>
</imsss:primaryObjective>
<!--
Set up another objective to read the status of this activity's prerequisite. We can then use this objective in
our sequencing rules to disable this activity.
-->
<imsss:objective objectiveID="previous_sco_satisfied">
<imsss:mapInfo targetObjectiveID="mod_02_OK" readSatisfiedStatus="true" writeSatisfiedStatus="false"/>
</imsss:objective>
</imsss:objectives>
<imsss:deliveryControls completionSetByContent="true" objectiveSetByContent="true"/>
</imsss:sequencing>
<item identifier="capam3" identifierref="capam3">
<title>Sobre o Módulo</title>
</item>
<item identifier="un0012" identifierref="un0012">
<title>Introdução ao Empreendedorismo</title>
</item>
<item identifier="un0013" identifierref="un0013">
<title>O Empreendedor e o Mercado</title>
</item>
<item identifier="un0014" isvisible="true" identifierref="un0014_RES">
<title>Avaliação de Módulo</title>
<imsss:sequencing>
<imsss:objectives>
<imsss:primaryObjective objectiveID="PRIMARYOBJ" satisfiedByMeasure="true">
<imsss:minNormalizedMeasure>0.6</imsss:minNormalizedMeasure>
</imsss:primaryObjective>
</imsss:objectives>
<imsss:deliveryControls completionSetByContent="true" objectiveSetByContent="true"/>
</imsss:sequencing>
</item>
</item>
</organization>
</organizations>
<resources>
<!-- DISCIPLINA 01 -->
<resource identifier="capam1" href="Pacote05_M1_HabGerenEstrat/capa_hge.html" adlcp:scormType="sco" type="webcontent">
<file href="Pacote05_M1_HabGerenEstrat/capa_hge.html" />
<dependency identifierref="assets" />
</resource>
<resource identifier="un0001" href="Pacote05_M1_HabGerenEstrat/Unid_I/unidade.html" adlcp:scormType="sco" type="webcontent">
<file href="Pacote05_M1_HabGerenEstrat/Unid_I/unidade.html" />
<dependency identifierref="assets" />
</resource>
<resource identifier="un0002" href="Pacote05_M1_HabGerenEstrat/Unid_II/unidade.html" adlcp:scormType="sco" type="webcontent">
<file href="Pacote05_M1_HabGerenEstrat/Unid_II/unidade.html" />
<dependency identifierref="assets" />
</resource>
<resource identifier="un0003" href="Pacote05_M1_HabGerenEstrat/Unid_III/unidade.html" adlcp:scormType="sco" type="webcontent">
<file href="Pacote05_M1_HabGerenEstrat/Unid_III/unidade.html" />
<dependency identifierref="assets" />
</resource>
<resource identifier="un0004" href="Pacote05_M1_HabGerenEstrat/Unid_IV/unidade.html" adlcp:scormType="sco" type="webcontent">
<file href="Pacote05_M1_HabGerenEstrat/Unid_IV/unidade.html" />
<dependency identifierref="assets" />
</resource>
<resource identifier="aval01_RES" href="Pacote05_M1_HabGerenEstrat/Unid_V_Avaliacao/aval.html" adlcp:scormType="sco" type="webcontent">
<file href="Pacote05_M1_HabGerenEstrat/Unid_V_Avaliacao/aval.html"></file>
<file href="Pacote05_M1_HabGerenEstrat/Unid_V_Avaliacao/aval.swf"></file>
<file href="Pacote05_M1_HabGerenEstrat/Unid_V_Avaliacao/APIWrapper.js"></file>
<file href="Pacote05_M1_HabGerenEstrat/Unid_V_Avaliacao/ieupdate.js"></file>
</resource>
<!-- DISCIPLINA 02 -->
<resource identifier="capam2" href="Pacote06_M1_MktDiferenCompet/capa_mkt.html" adlcp:scormType="sco" type="webcontent">
<file href="Pacote06_M1_MktDiferenCompet/capa_mkt.html" />
<dependency identifierref="assets" />
</resource>
<resource identifier="un0006" href="Pacote06_M1_MktDiferenCompet/Unid_I/unidade.html" adlcp:scormType="sco" type="webcontent">
<file href="Pacote06_M1_MktDiferenCompet/Unid_I/unidade.html" />
<dependency identifierref="assets" />
</resource>
<resource identifier="un0007" href="Pacote06_M1_MktDiferenCompet/Unid_II/unidade.html" adlcp:scormType="sco" type="webcontent">
<file href="Pacote06_M1_MktDiferenCompet/Unid_II/unidade.html" />
<dependency identifierref="assets" />
</resource>
<resource identifier="un0008" href="Pacote06_M1_MktDiferenCompet/Unid_III/unidade.html" adlcp:scormType="sco" type="webcontent">
<file href="Pacote06_M1_MktDiferenCompet/Unid_III/unidade.html" />
<dependency identifierref="assets" />
</resource>
<resource identifier="un0009" href="Pacote06_M1_MktDiferenCompet/Unid_IV/unidade.html" adlcp:scormType="sco" type="webcontent">
<file href="Pacote06_M1_MktDiferenCompet/Unid_IV/unidade.html" />
<dependency identifierref="assets" />
</resource>
<resource identifier="un0010" href="Pacote06_M1_MktDiferenCompet/Unid_V/unidade.html" adlcp:scormType="sco" type="webcontent">
<file href="Pacote06_M1_MktDiferenCompet/Unid_V/unidade.html" />
<dependency identifierref="assets" />
</resource>
<resource identifier="un0011_RES" href="Pacote06_M1_MktDiferenCompet/Unid_VI_Avaliacao/aval.html" adlcp:scormType="sco" type="webcontent">
<file href="Pacote06_M1_MktDiferenCompet/Unid_VI_Avaliacao/aval.html"></file>
<file href="Pacote06_M1_MktDiferenCompet/Unid_VI_Avaliacao/aval.swf"></file>
<file href="Pacote06_M1_MktDiferenCompet/Unid_VI_Avaliacao/APIWrapper.js"></file>
<file href="Pacote06_M1_MktDiferenCompet/Unid_VI_Avaliacao/ieupdate.js"></file>
</resource>
<!-- DISCIPLINA 03 -->
<resource identifier="capam3" href="Pacote07_M1_Empreed/capa_emp.html" adlcp:scormType="sco" type="webcontent">
<file href="Pacote07_M1_Empreed/capa_emp.html" />
<dependency identifierref="assets" />
</resource>
<resource identifier="un0012" href="Pacote07_M1_Empreed/Unid_I/unidade.html" adlcp:scormType="sco" type="webcontent">
<file href="Pacote07_M1_Empreed/Unid_I/unidade.html" />
<dependency identifierref="assets" />
</resource>
<resource identifier="un0013" href="Pacote07_M1_Empreed/Unid_II/unidade.html" adlcp:scormType="sco" type="webcontent">
<file href="Pacote07_M1_Empreed/Unid_II/unidade.html" />
<dependency identifierref="assets" />
</resource>
<resource identifier="un0014_RES" href="Pacote07_M1_Empreed/Unid_III_Avaliacao/aval.html" adlcp:scormType="sco" type="webcontent">
<file href="Pacote07_M1_Empreed/Unid_III_Avaliacao/aval.html"></file>
<file href="Pacote07_M1_Empreed/Unid_III_Avaliacao/aval.swf"></file>
<file href="Pacote07_M1_Empreed/Unid_III_Avaliacao/APIWrapper.js"></file>
<file href="Pacote07_M1_Empreed/Unid_III_Avaliacao/ieupdate.js"></file>
</resource>
<!-- OUTROS -->
<resource identifier="assets" type="webcontent" adlcp:scormType="asset">
<file href="scripts/APIWrapper.js" />
<file href="scripts/SCOFunctions.js" />
</resource>
</resources>
<imsss:sequencingCollection>
<imsss:sequencing ID="sequencia_principal">
<!-- This course doesn't rollup a score -->
<imsss:rollupRules objectiveMeasureWeight="1"></imsss:rollupRules>
<!-- Set these values to prevent content from accidently being auto-completed/satisfied-->
<imsss:deliveryControls completionSetByContent="true" objectiveSetByContent="true"/>
</imsss:sequencing>
</imsss:sequencingCollection>
</manifest>
What sequencing strategy are you trying to implement? Can you be a bit more specific about the problem you are seeing? It looks like you are trying to modify the golf sequencing examples I published. Would be happy to answer any questions you have.
Mike