Welcome to the public discussion channel for the Ceylon programming language (https://ceylon-lang.org)
Suppose the following code occurs in a module named
`com.redhat.example`:
assert (exists resource
= `module`.resourceByPath("file.txt"));
print(resource.textContent());
Then the resource named `file.text` should be placed in
the subdirectory `com/redhat/example/` of the resource
directory.
com.redhat.example
All files (resources) which will be embed into this module must be placed in resources/com/redhat/example
or other resources folder included into classpath
`module your.module.name`
Your project
-> properties
-> ceylon build
-> module repositories
-> Add maven repository
and from file explorer select settings.xml
<?xml version="1.0" encoding="UTF-8"?>
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
<profiles>
<profile>
<id>central</id>
<repositories>
<repository>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
<id>Maven Central</id>
<name>Maven Central</name>
<url>https://repo1.maven.org/maven2/</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
<id>central</id>
<url>http://repo1.maven.org/maven2</url>
</pluginRepository>
</pluginRepositories>
</profile>
</profiles>
<activeProfiles>
<activeProfile>central</activeProfile>
</activeProfiles>
</settings>
ceylon-tui/src/main/resources
ceylon-tui/src/main/resources
there is this subtree : peu/ceylon/tui/Messages.properties
.car
archive now has the resources inside and in the proper place.
jffi.native
are exposed to jffi
?
jffi.native
is a fragment of jffi
.jnr-ffi
to define native bindings.
Folks, towards our goal of a 1.3.4 release that is basically 1.3.3 + fixes, I have automated development builds of the Ceylon distribution and Eclipse IDE. They are available at https://github.com/eclipse/ceylon/actions?query=workflow%3Aintegration-build.
Click on the latest successful build and download "ceylon-build-artifacts" which includes a zip file of the Ceylon distribution & IDE.
While these builds should be usable, they currently contain some unwanted new features and compatibility breaks, such as un-curried versions of fold(), etc. Over time, we will improve feature equivalence and compatibility with 1.3.3.