I'm not following you. The problem is that native2ascii (the executable) can't be found.
-----Original Message----- From: "Dan Tran" <[email protected]> Sent: Thursday, February 5, 2009 1:34pm To: "Maven Users List" <[email protected]> Subject: Re: mvn and native2ascii on ubuntu /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 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) > > > > org.codehaus.mojo > native2ascii-maven-plugin > ${native2ascii-maven-plugin.version} > > > Cp1251 > > native2ascii > > > Cp1251 > TPStrings_ru*.native > ${native.dest.resource.dir} > .properties > > > > big5 > > native2ascii > > > big5 > TPStrings_zh_TW*.native > ${native.dest.resource.dir} > .properties > > > > gb2312 > > native2ascii > > > gb2312 > TPStrings_zh_CN*.native > ${native.dest.resource.dir} > .properties > > > > shift_jis > > native2ascii > > > shift_jis > TPStrings_ja*.native > ${native.dest.resource.dir} > .properties > > > > > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
