New compile error: signer information

32 views
Skip to first unread message

Sebastian Sardina

unread,
Jun 23, 2021, 7:28:56 PM6/23/21
to sarl
All of a sudden I started to get this error in all my SARL applications, any clue what is happening here? Using 0.11.0 still.

mvn-sarl-compile-error.png

Sebastian Sardina

unread,
Jun 23, 2021, 8:45:22 PM6/23/21
to sarl
Could this be related to issue #1076?

I suppose not because because my SARL maven plugin does NOT  stop without warning or error message; it is different issue.

Sebastian Rodriguez

unread,
Jun 23, 2021, 11:03:33 PM6/23/21
to sarl
Hi Sebastian,
  This seems to be an issue in the equinox common package from eclipse
  A work around for now is:
<project>
  [...]
    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <version>3.8.1</version>
                <configuration>
                    <source>${target.jdk.version}</source>
                    <target>${target.jdk.version}</target>
                    <encoding>${project.build.sourceEncoding}</encoding>
                </configuration>
            </plugin>
            <plugin>
                <groupId>io.sarl.maven</groupId>
                <artifactId>sarl-maven-plugin</artifactId>
                <version>${sarl.version}</version>
                <extensions>true</extensions>
                <configuration>
                    <source>${target.jdk.version}</source>
                    <target>${target.jdk.version}</target>
                    <encoding>${project.build.sourceEncoding}</encoding>
                </configuration>
                <dependencies>
                    <dependency>
                        <groupId>org.eclipse.platform</groupId>
                        <artifactId>org.eclipse.equinox.common</artifactId>
                        <version>3.14.100</version>
                    </dependency>
                </dependencies>
            </plugin>
        </plugins>
    </build>

</project>

Hope this helps!
Regards,
  Sebastian

Stéphane Galland

unread,
Jun 24, 2021, 2:08:56 AM6/24/21
to sarl
Dear Sebastian and Sebastian.

Thank you for reporting. It is an issue that appears a couple of weeks ago (for my student project's groups) without any change in the version of SARL or the development environment.
It is thrown into the Google Guice injector before all the classes of the SARL compiler are loaded into memory.

Thank Sebastian R. for the quick fix. I have created an issue for applying it to the SARL code.
I will patch version 0.12 also in order to release it as 0.12.1.

Reply all
Reply to author
Forward
0 new messages