Build with maven with "caching" option

Stimulsoft Reports.Flex discussion
Locked
User avatar
Chipo
Posts: 44
Joined: Thu Sep 13, 2012 4:09 am
Location: Sydney, Australia

Build with maven with "caching" option

Post by Chipo »

Hi,

I use maven to build application. When I use "caching" option like that:

Code: Select all

<dependency>
	<groupId>com.stimulsoft</groupId>
	<artifactId>stimulsoft-viewer</artifactId>
	<version>${stimulsoft.reports.fx.version}</version>
	<type>swc</type>
	<scope>caching</scope>
</dependency>

...
I have error:

Code: Select all

Error: No signed digest found in catalog.xml of the library, C:\Users\bob.the.builder\.m2\repository\com\stimulsoft\stimulsoft-viewer\2012.3\stimulsoft-viewer-2012.3.swc. Compile the library with -create-digest=true and try again.
Without "caching" everything is fine but having this libraries cached is crucial for application load time, etc.

Can you please recompile libraries with digest.

Best regards.
Vladimir
Posts: 1462
Joined: Fri Apr 13, 2007 4:05 am
Location: Earth

Re: Build with maven with "caching" option

Post by Vladimir »

Hello,

Sorry, but this option is not supported, we tested it on the Flex SDK 4.0 and 4.5

Could you clarify which version of SDK you are using to compile? Is this option supported by your compiler?

Thank you.
User avatar
Chipo
Posts: 44
Joined: Thu Sep 13, 2012 4:09 am
Location: Sydney, Australia

Re: Build with maven with "caching" option

Post by Chipo »

Hi,

I use 4.5.1.21328

Best regards
Vladimir
Posts: 1462
Joined: Fri Apr 13, 2007 4:05 am
Location: Earth

Re: Build with maven with "caching" option

Post by Vladimir »

Hello,

We need additional time for testing.

Thank you.
Vladimir
Posts: 1462
Joined: Fri Apr 13, 2007 4:05 am
Location: Earth

Re: Build with maven with "caching" option

Post by Vladimir »

Hello,

Please try this libraries (see attached archive).
FXFLEX_2013.01.22_Trial.zip
(5.18 MiB) Downloaded 358 times
Thank you.
User avatar
Chipo
Posts: 44
Joined: Thu Sep 13, 2012 4:09 am
Location: Sydney, Australia

Re: Build with maven with "caching" option

Post by Chipo »

Hi,

Bad news. I tried new libraries and still have:

Code: Select all

Error: No signed digest found in catalog.xml of the library, C:\Users\rustam.mingazov\.m2\repository\com\stimulsoft\stimulsoft-viewer\2013.01.22\stimulsoft-viewer-2013.01.22.swc. Compile the library with -create-digest=true and try again.

Error: No signed digest found in catalog.xml of the library, C:\Users\rustam.mingazov\.m2\repository\com\stimulsoft\stimulsoft-designer\2013.01.22\stimulsoft-designer-2013.01.22.swc. Compile the library with -create-digest=true and try again.

Error: No signed digest found in catalog.xml of the library, C:\Users\rustam.mingazov\.m2\repository\com\stimulsoft\ApiProvider_Java\2013.01.22\ApiProvider_Java-2013.01.22.swc. Compile the library with -create-digest=true and try again.
Best regards
Vladimir
Posts: 1462
Joined: Fri Apr 13, 2007 4:05 am
Location: Earth

Re: Build with maven with "caching" option

Post by Vladimir »

Hello,

To compile the libraries, we used the 'compute-digest' key, which is set to True. We will try another options.
If you have any more information on how to compile the libraries with digest, please let us know.

Thank you.
Locked