Hello,
I think I really used a wrong work flow.
I switch to the scripts as shown as the following,
executions
execution
idcompile/id
phasegenerate-resources/phase
configuration
tasks
Hi guys,
I must write some resource files related to localization.
On develop time, I have to write natural local language; on runtime,
application must use ASCII codes.
So I have to convert the native resource files to ASCII files before
deploying.
Now, I use maven-antrun-plugin to execute Ant
Hi Jiang!
This task is a bit tricky, since the antrun plugin
does come with almost no dependencies in the default
pom. This is basically a good idea, since you don't
have jars lying around which you do not use.
Specially the native2ascii is a bit dirty, since this
is a special part provided by
Btw, you may remove the antlr dependencies since this
has nothing to do with ant.
antlr: ANother Tool for Language Recognition
read more at:
http://www.antlr.org/
Some ant dependencies which (in other common
scenarios) would make sense are:
ant/ant-nodeps
ant/ant-stylebook
Hi struberg,
Thanks for your help.
I had a try with your instructions, but didn't get good result.
The following is my snippet of scripts
dependency
groupIdcom.sun/groupId
artifactIdtools/artifactId
version1.5.0_09/version
scopesystem/scope
systemPath
Did you put the dependency node inside plugin, as suggested, or
just directly to the project?
Wayne
On 11/27/06, jiangshachina [EMAIL PROTECTED] wrote:
Hi struberg,
Thanks for your help.
I had a try with your instructions, but didn't get good result.
The following is my snippet of scripts
Oki, i looked at all jars. You have to add the
ant-nodeps to your dependencies also.
This contains the optional ant taskdef for
native2ascii.
dependency
groupIdant/groupId
artifactIdant-nodeps/artifactId
version1.6.5/version
scoperuntime/scope
/dependency
lg,
strub
--- jiangshachina
Hi,
It's in
buildpluginsplugindependency/dependencyplugin/plugins/build.
a cup of Java, cheers!
Sha Jiang
Wayne Fay wrote:
Did you put the dependency node inside plugin, as suggested, or
just directly to the project?
Wayne
On 11/27/06, jiangshachina [EMAIL PROTECTED] wrote:
Hi
OK, that's right!
Thanks very much!
a cup of Java, cheers!
Sha Jiang
struberg wrote:
Oki, i looked at all jars. You have to add the
ant-nodeps to your dependencies also.
This contains the optional ant taskdef for
native2ascii.
dependency
groupIdant/groupId
Hello,
Now I have another troubles.
executions
execution
idcompile/id
phasecompile/phase
configuration
tasks
native2ascii encoding=UTF8 src=src/java
10 matches
Mail list logo