/home/dave/views/pr/platform/ProgressReporter/pr-gui/src/main/native2ascii

is where you should put your to be convert files in

-D

On Thu, Feb 5, 2009 at 10:05 AM, Dave Brosius <[email protected]> wrote:
> Hi folks,
>
>     I've seen a couple references to problems regarding native2ascii on 
> various places but i couldn't see a similar problem to what i am 
> experiencing, so perhaps, if you would indulge me, i will ask again.
>
> I am running java 6 (/usr/bin/jvm/java-6-sun-1.6.0.10)
>
> and have a pom with a native2ascii plugin in it (see below at end)
>
> when i mvn install i get the following exception, which shows that mvn or ant 
> perhaps, are confused about where native2ascii exists. Which i find in 
> /usr/bin/native2ascii). Anyone have any suggestions on what i could have set 
> up wrongly?
>
> /home/dave/views/pr/platform/ProgressReporter/pr-gui/src/main/native2ascii 
> not found.
>    at 
> org.apache.tools.ant.types.AbstractFileSet.getDirectoryScanner(AbstractFileSet.java:422)
>    at 
> org.apache.tools.ant.taskdefs.MatchingTask.getDirectoryScanner(MatchingTask.java:192)
>    at 
> org.apache.tools.ant.taskdefs.optional.Native2Ascii.execute(Native2Ascii.java:215)
>    at 
> org.codehaus.mojo.native2ascii.Native2AsciiMojo.executeAnt(Native2AsciiMojo.java:115)
>    at 
> org.codehaus.mojo.native2ascii.Native2AsciiMojo.execute(Native2AsciiMojo.java:92)
>    at 
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)
>    at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)
>    at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499)
>    at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478)
>    at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
>    at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291)
>    at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
>    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
>    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
>    at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
>
>
>
>
>
>
> (and here is the maven pom section of note)
>
>
>      <plugin>
>        <groupId>org.codehaus.mojo</groupId>
>        <artifactId>native2ascii-maven-plugin</artifactId>
>        <version>${native2ascii-maven-plugin.version}</version>
>        <executions>
>          <execution>
>            <id>Cp1251</id>
>            <goals>
>              <goal>native2ascii</goal>
>            </goals>
>            <configuration>
>              <encoding>Cp1251</encoding>
>              <includes>TPStrings_ru*.native</includes>
>              <dest>${native.dest.resource.dir}</dest>
>              <ext>.properties</ext>
>            </configuration>
>          </execution>
>          <execution>
>            <id>big5</id>
>            <goals>
>              <goal>native2ascii</goal>
>            </goals>
>            <configuration>
>              <encoding>big5</encoding>
>              <includes>TPStrings_zh_TW*.native</includes>
>              <dest>${native.dest.resource.dir}</dest>
>              <ext>.properties</ext>
>            </configuration>
>          </execution>
>          <execution>
>            <id>gb2312</id>
>            <goals>
>              <goal>native2ascii</goal>
>            </goals>
>            <configuration>
>              <encoding>gb2312</encoding>
>              <includes>TPStrings_zh_CN*.native</includes>
>              <dest>${native.dest.resource.dir}</dest>
>              <ext>.properties</ext>
>            </configuration>
>          </execution>
>          <execution>
>            <id>shift_jis</id>
>            <goals>
>              <goal>native2ascii</goal>
>            </goals>
>            <configuration>
>              <encoding>shift_jis</encoding>
>              <includes>TPStrings_ja*.native</includes>
>              <dest>${native.dest.resource.dir}</dest>
>              <ext>.properties</ext>
>            </configuration>
>          </execution>
>        </executions>
>      </plugin>
>
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to