Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] configuring encoding

Hello,

if i am not mistaken you can do this by adding the property "project.build.sourceEncoding" to your POM, for example:

<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

Regards,
Davy

> Date: Thu, 13 Oct 2011 14:38:54 -0300
> From: luizeduardokowalski@xxxxxxxxx
> To: tycho-user@xxxxxxxxxxx
> Subject: [tycho-user] configuring encoding
>
> hi all!
> i'm using tycho 0.13.0 and all my builds are working so far. but there
> are this thing, that is kind annoying me...
> i 'm using windows to develop my app, and when building with tycho on
> windows, i see no problems. but, i'm using hudson to CI (running inside
> ubuntu) and all my special strings (like รง, ~, etc) are not recognized
> (it turns a little square instead my special string)
> is there a way to configure tycho to use some encoding?
>
> here is a print http://i.imgur.com/qw8QF.png
> my pom:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <project
> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
> http://maven.apache.org/xsd/maven-4.0.0.xsd"
> xmlns="http://maven.apache.org/POM/4.0.0"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
> <modelVersion>4.0.0</modelVersion>
> <groupId>br.com.germantech</groupId>
> <artifactId>ws</artifactId>
> <version>0.0.1-SNAPSHOT</version>
> <packaging>pom</packaging>
> <modules>
> <module>br.com.germantech.ecf</module>
> <module>br.com.germantech.feature</module>
> <module>br.com.germantech</module>
> </modules>
> <properties>
> <tycho-version>0.13.0</tycho-version>
> </properties>
> <build>
> <plugins>
> <plugin>
> <groupId>org.eclipse.tycho</groupId>
> <artifactId>tycho-maven-plugin</artifactId>
> <version>${tycho-version}</version>
> <extensions>true</extensions>
> </plugin>
>
> <plugin>
> <groupId>org.eclipse.tycho</groupId>
> <artifactId>target-platform-configuration</artifactId>
> <version>${tycho-version}</version>
> <configuration>
> <resolver>p2</resolver>
> <pomDependencies>consider</pomDependencies>
> <environments>
> <environment>
> <os>linux</os>
> <ws>gtk</ws>
> <arch>x86</arch>
> </environment>
> <environment>
> <os>win32</os>
> <ws>win32</ws>
> <arch>x86</arch>
> </environment>
> </environments>
> <target>
> <artifact>
> <groupId>br.com.germantech</groupId>
> <artifactId>br.com.germantech.feature</artifactId>
> <version>0.0.1</version>
> <classifier>ecf</classifier>
> </artifact>
> </target>
> </configuration>
> </plugin>
> </plugins>
> </build>
> </project>
>
> _______________________________________________
> tycho-user mailing list
> tycho-user@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/tycho-user

Back to the top