[
https://issues.apache.org/jira/browse/CAMEL-10671?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16448439#comment-16448439
]
ASF GitHub Bot commented on CAMEL-10671:
----------------------------------------
dimitrisli commented on a change in pull request #2303: CAMEL-10671: Adding
Camel example project for the Ceylon JVM language
URL: https://github.com/apache/camel/pull/2303#discussion_r183466664
##########
File path:
examples/camel-example-ceylon/src/main/ceylon/org/apache/camel/example/module.ceylon
##########
@@ -0,0 +1,22 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+native("jvm")
+module org.apache.camel.example "1.0.0" {
+
+ import maven:"org.apache.camel:camel-core" "2.22.0-SNAPSHOT";
Review comment:
I tried a few things but it didn't work. The closest one I got was the
Filtering capability of the Maven Resources
plugin.(https://maven.apache.org/plugins/maven-resources-plugin/examples/filter.html).
It works well in what we want it to do: pointing at the package where the
module.ceylon is included it is indeed changing the ${project.version} and
store it under target/classes. Problem is that the Ceylon compiler (under the
plugin) is not considering the target entry but rather the one under sources. I
tried with the resources config of the Ceylon plugin too to no avail
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> camel-example-celyon
> --------------------
>
> Key: CAMEL-10671
> URL: https://issues.apache.org/jira/browse/CAMEL-10671
> Project: Camel
> Issue Type: New Feature
> Components: examples
> Reporter: Claus Ibsen
> Priority: Minor
> Fix For: Future
>
>
> We should have a little example of using camel with celyon. Its just to have
> a maven project with celyon dependencies and compiler setup and some basic
> celyon code that can run standalone with a camel route.
> Take a look at the groovy or kotlin example which would be similar.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)