You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2019/12/19 18:24:42 UTC

[camel-quarkus] branch master updated: Restored the native profile for camel-quarkus-pdf integration tests

This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git


The following commit(s) were added to refs/heads/master by this push:
     new 9fad67d  Restored the native profile for camel-quarkus-pdf integration tests
     new f51de5f  Merge pull request #556 from aldettinger/camel-quarkus-472
9fad67d is described below

commit 9fad67d49f529fa09b6eb53804e86b4ee07c46c7
Author: aldettinger <al...@gmail.com>
AuthorDate: Thu Dec 19 15:08:13 2019 +0100

    Restored the native profile for camel-quarkus-pdf integration tests
---
 integration-tests/pdf/pom.xml | 31 ++-----------------------------
 1 file changed, 2 insertions(+), 29 deletions(-)

diff --git a/integration-tests/pdf/pom.xml b/integration-tests/pdf/pom.xml
index 535844a..d8426ea 100644
--- a/integration-tests/pdf/pom.xml
+++ b/integration-tests/pdf/pom.xml
@@ -64,37 +64,10 @@
   </build>
   <profiles>
     <profile>
-      <!--
-      TODO: fix and re-enable native tests
-
-      Error: Detected a FileDescriptor in the image heap. File descriptors opened during image generation are no longer
-      open at image run time, and the files might not even be present anymore at image run time.  To see how this object
-      got instantiated use -H:+TraceClassInitialization. The object was probably created by a class initializer and is
-      reachable from a static field. You can request class initialization at image run time by using the option
-      \-\-initialize-at-build-time=<class-name>. Or you can write your own initialization methods and call them explicitly
-      from your main entry point.
-
-      Detailed message:
-          Trace:
-              object org.apache.fontbox.ttf.BufferedRandomAccessFile
-              object org.apache.fontbox.ttf.RAFDataStream
-              object org.apache.fontbox.ttf.TrueTypeFont
-              object org.apache.pdfbox.pdmodel.font.PDType1Font
-              method org.apache.camel.component.pdf.PdfConfiguration.<init>()
-          Call path from entry point to org.apache.camel.component.pdf.PdfConfiguration.<init>():
-              at org.apache.camel.component.pdf.PdfConfiguration.<init>(PdfConfiguration.java:43)
-              at org.apache.camel.component.pdf.PdfComponent.createEndpoint(PdfComponent.java:34)
-              at org.apache.camel.support.DefaultComponent.createEndpoint(DefaultComponent.java:240)
-              at org.apache.camel.impl.engine.AbstractCamelContext.getEndpoint(AbstractCamelContext.java:786)
-              at org.apache.camel.impl.engine.DefaultProducerTemplate.resolveMandatoryEndpoint(DefaultProducerTemplate.java:550)
-              at org.apache.camel.impl.engine.DefaultProducerTemplate.send(DefaultProducerTemplate.java:130)
-              at org.apache.camel.processor.aggregate.AggregateProcessor$RecoverTask.run(AggregateProcessor.java:1339)
-              ...
-      -->
-      <id>native-pdf</id>
+      <id>native</id>
       <activation>
         <property>
-          <name>native-pdf</name>
+          <name>native</name>
         </property>
       </activation>
       <build>