I agree that it's no fun to see these messages. The good news is
they're just warnings. The bad news is we can't suppress them -
they're coming from Maven.
We have the following tip in the QuickStart Guide to help reduce worry:
The warnings you see when creating an archetype are expected. If you
see BUILD SUCCESSFUL at the end, your project was created
successfully.
Matt
On 9/17/07, nessus <[EMAIL PROTECTED]> wrote:
>
> Matt,
>
> I have updated the previous message and I am now following your advice to
> create a totally new project. It's upsetting to see so many warnings coming
> up while building the project. Will they make future troubles in production?
>
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> reference :
> template = archetype-resources/pom.xml [line 50,column 26] :
> ${appfuse.version}
> is not a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> reference :
> template = archetype-resources/pom.xml [line 52,column 34] :
> ${amp.genericCore}
> is not a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> reference :
> template = archetype-resources/pom.xml [line 53,column 33] :
> ${amp.fullSource} i
> s not a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> reference :
> template = archetype-resources/pom.xml [line 59,column 34] : ${jdbc.groupId}
> is
> not a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> reference :
> template = archetype-resources/pom.xml [line 60,column 37] :
> ${jdbc.artifactId}
> is not a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> reference :
> template = archetype-resources/pom.xml [line 61,column 34] : ${jdbc.version}
> is
> not a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> reference :
> template = archetype-resources/pom.xml [line 139,column 31] :
> ${maven.test.skip}
> is not a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> reference :
> template = archetype-resources/pom.xml [line 152,column 34] :
> ${jdbc.groupId} is
> not a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> reference :
> template = archetype-resources/pom.xml [line 153,column 37] :
> ${jdbc.artifactId}
> is not a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> reference :
> template = archetype-resources/pom.xml [line 154,column 34] :
> ${jdbc.version} is
> not a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> reference :
> template = archetype-resources/pom.xml [line 163,column 42] :
> ${dbunit.dataTypeF
> actoryName} is not a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> reference :
> template = archetype-resources/pom.xml [line 164,column 29] :
> ${jdbc.driverClass
> Name} is not a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> reference :
> template = archetype-resources/pom.xml [line 165,column 31] :
> ${jdbc.username} i
> s not a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> reference :
> template = archetype-resources/pom.xml [line 166,column 31] :
> ${jdbc.password} i
> s not a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> reference :
> template = archetype-resources/pom.xml [line 167,column 26] : ${jdbc.url} is
> not
> a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> reference :
> template = archetype-resources/pom.xml [line 169,column 27] :
> ${dbunit.operation
> .type} is not a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> reference :
> template = archetype-resources/pom.xml [line 170,column 29] :
> ${dbunit.schema} i
> s not a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> reference :
> template = archetype-resources/pom.xml [line 171,column 27] :
> ${maven.test.skip}
> is not a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> reference :
> template = archetype-resources/pom.xml [line 192,column 34] :
> ${jdbc.groupId} is
> not a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> reference :
> template = archetype-resources/pom.xml [line 193,column 37] :
> ${jdbc.artifactId}
> is not a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> reference :
> template = archetype-resources/pom.xml [line 194,column 34] :
> ${jdbc.version} is
> not a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> reference :
> template = archetype-resources/pom.xml [line 231,column 26] :
> ${appfuse.version}
> is not a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> reference :
> template = archetype-resources/pom.xml [line 352,column 33] :
> ${web.framework} i
> s not a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> reference :
> template = archetype-resources/pom.xml [line 353,column 22] :
> ${appfuse.version}
> is not a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> reference :
> template = archetype-resources/pom.xml [line 358,column 33] :
> ${web.framework} i
> s not a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> reference :
> template = archetype-resources/pom.xml [line 359,column 22] :
> ${appfuse.version}
> is not a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> reference :
> template = archetype-resources/pom.xml [line 373,column 33] :
> ${dao.framework} i
> s not a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> reference :
> template = archetype-resources/pom.xml [line 374,column 22] :
> ${appfuse.version}
> is not a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> reference :
> template = archetype-resources/pom.xml [line 377,column 22] :
> ${jdbc.groupId} is
> not a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> reference :
> template = archetype-resources/pom.xml [line 378,column 25] :
> ${jdbc.artifactId}
> is not a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> reference :
> template = archetype-resources/pom.xml [line 379,column 22] :
> ${jdbc.version} is
> not a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> reference :
> template = archetype-resources/pom.xml [line 385,column 22] : ${jsp.version}
> is
> not a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> reference :
> template = archetype-resources/pom.xml [line 391,column 22] :
> ${servlet.version}
> is not a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> reference :
> template = archetype-resources/pom.xml [line 397,column 22] :
> ${jmock.version} i
> s not a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> reference :
> template = archetype-resources/pom.xml [line 403,column 22] :
> ${junit.version} i
> s not a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> reference :
> template = archetype-resources/pom.xml [line 409,column 22] :
> ${spring.version}
> is not a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> reference :
> template = archetype-resources/pom.xml [line 415,column 22] :
> ${wiser.version} i
> s not a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> reference :
> template = archetype-resources/pom.xml [line 467,column 35] : ${cargo.wait}
> is n
> ot a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> reference :
> template = archetype-resources/pom.xml [line 469,column 46] :
> ${cargo.container}
> is not a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> reference :
> template = archetype-resources/pom.xml [line 470,column 42] :
> ${cargo.container.
> home} is not a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> reference :
> template = archetype-resources/pom.xml [line 472,column 42] :
> ${cargo.container.
> url} is not a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> reference :
> template = archetype-resources/pom.xml [line 473,column 49] : ${installDir}
> is n
> ot a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> reference :
> template = archetype-resources/pom.xml [line 477,column 39] :
> ${project.build.di
> rectory} is not a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> reference :
> template = archetype-resources/pom.xml [line 477,column 66] :
> ${cargo.container}
> is not a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> reference :
> template = archetype-resources/pom.xml [line 479,column 53] : ${cargo.host}
> is n
> ot a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> reference :
> template = archetype-resources/pom.xml [line 480,column 57] : ${cargo.port}
> is n
> ot a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> reference :
> template = archetype-resources/pom.xml [line 514,column 61] :
> ${project.build.fi
> nalName} is not a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> reference :
> template = archetype-resources/pom.xml [line 514,column 102] :
> ${user.language}
> is not a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> reference :
> template = archetype-resources/pom.xml [line 515,column 89] : ${test} is not
> a v
> alid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> reference :
> template = archetype-resources/pom.xml [line 516,column 75] :
> ${user.language} i
> s not a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> reference :
> template = archetype-resources/pom.xml [line 517,column 73] :
> ${project.build.fi
> nalName} is not a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> reference :
> template = archetype-resources/pom.xml [line 518,column 66] : ${cargo.host}
> is n
> ot a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> reference :
> template = archetype-resources/pom.xml [line 519,column 66] : ${cargo.port}
> is n
> ot a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> reference :
> template = archetype-resources/pom.xml [line 535,column 42] :
> ${webtest.version}
> is not a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> reference :
> template = archetype-resources/pom.xml [line 663,column 39] :
> ${env.JBOSS_HOME}
> is not a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> reference :
> template = archetype-resources/pom.xml [line 693,column 31] :
> ${env.CATALINA_HOM
> E} is not a valid reference.
> [INFO] ********************* End of debug info from resources from generated
> POM
> ***********************
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> reference :
> template = archetype-resources/pom.xml [line 50,column 26] :
> ${appfuse.version}
> is not a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> reference :
> template = archetype-resources/pom.xml [line 52,column 34] :
> ${amp.genericCore}
> is not a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> reference :
> template = archetype-resources/pom.xml [line 53,column 33] :
> ${amp.fullSource} i
> s not a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> reference :
> template = archetype-resources/pom.xml [line 59,column 34] : ${jdbc.groupId}
> is
> not a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> reference :
> template = archetype-resources/pom.xml [line 60,column 37] :
> ${jdbc.artifactId}
> is not a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> reference :
> template = archetype-resources/pom.xml [line 61,column 34] : ${jdbc.version}
> is
> not a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> reference :
> template = archetype-resources/pom.xml [line 139,column 31] :
> ${maven.test.skip}
> is not a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> reference :
> template = archetype-resources/pom.xml [line 152,column 34] :
> ${jdbc.groupId} is
> not a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> reference :
> template = archetype-resources/pom.xml [line 153,column 37] :
> ${jdbc.artifactId}
> is not a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> reference :
> template = archetype-resources/pom.xml [line 154,column 34] :
> ${jdbc.version} is
> not a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> reference :
> template = archetype-resources/pom.xml [line 163,column 42] :
> ${dbunit.dataTypeF
> actoryName} is not a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> reference :
> template = archetype-resources/pom.xml [line 164,column 29] :
> ${jdbc.driverClass
> Name} is not a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> reference :
> template = archetype-resources/pom.xml [line 165,column 31] :
> ${jdbc.username} i
> s not a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> reference :
> template = archetype-resources/pom.xml [line 166,column 31] :
> ${jdbc.password} i
> s not a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> reference :
> template = archetype-resources/pom.xml [line 167,column 26] : ${jdbc.url} is
> not
> a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> reference :
> template = archetype-resources/pom.xml [line 169,column 27] :
> ${dbunit.operation
> .type} is not a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> reference :
> template = archetype-resources/pom.xml [line 170,column 29] :
> ${dbunit.schema} i
> s not a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> reference :
> template = archetype-resources/pom.xml [line 171,column 27] :
> ${maven.test.skip}
> is not a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> reference :
> template = archetype-resources/pom.xml [line 192,column 34] :
> ${jdbc.groupId} is
> not a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> reference :
> template = archetype-resources/pom.xml [line 193,column 37] :
> ${jdbc.artifactId}
> is not a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> reference :
> template = archetype-resources/pom.xml [line 194,column 34] :
> ${jdbc.version} is
> not a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> reference :
> template = archetype-resources/pom.xml [line 231,column 26] :
> ${appfuse.version}
> is not a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> reference :
> template = archetype-resources/pom.xml [line 352,column 33] :
> ${web.framework} i
> s not a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> reference :
> template = archetype-resources/pom.xml [line 353,column 22] :
> ${appfuse.version}
> is not a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> reference :
> template = archetype-resources/pom.xml [line 358,column 33] :
> ${web.framework} i
> s not a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> reference :
> template = archetype-resources/pom.xml [line 359,column 22] :
> ${appfuse.version}
> is not a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> reference :
> template = archetype-resources/pom.xml [line 373,column 33] :
> ${dao.framework} i
> s not a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> reference :
> template = archetype-resources/pom.xml [line 374,column 22] :
> ${appfuse.version}
> is not a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> reference :
> template = archetype-resources/pom.xml [line 377,column 22] :
> ${jdbc.groupId} is
> not a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> reference :
> template = archetype-resources/pom.xml [line 378,column 25] :
> ${jdbc.artifactId}
> is not a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> reference :
> template = archetype-resources/pom.xml [line 379,column 22] :
> ${jdbc.version} is
> not a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> reference :
> template = archetype-resources/pom.xml [line 385,column 22] : ${jsp.version}
> is
> not a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> reference :
> template = archetype-resources/pom.xml [line 391,column 22] :
> ${servlet.version}
> is not a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> reference :
> template = archetype-resources/pom.xml [line 397,column 22] :
> ${jmock.version} i
> s not a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> reference :
> template = archetype-resources/pom.xml [line 403,column 22] :
> ${junit.version} i
> s not a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> reference :
> template = archetype-resources/pom.xml [line 409,column 22] :
> ${spring.version}
> is not a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> reference :
> template = archetype-resources/pom.xml [line 415,column 22] :
> ${wiser.version} i
> s not a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> reference :
> template = archetype-resources/pom.xml [line 467,column 35] : ${cargo.wait}
> is n
> ot a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> reference :
> template = archetype-resources/pom.xml [line 469,column 46] :
> ${cargo.container}
> is not a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> reference :
> template = archetype-resources/pom.xml [line 470,column 42] :
> ${cargo.container.
> home} is not a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> reference :
> template = archetype-resources/pom.xml [line 472,column 42] :
> ${cargo.container.
> url} is not a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> reference :
> template = archetype-resources/pom.xml [line 473,column 49] : ${installDir}
> is n
> ot a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> reference :
> template = archetype-resources/pom.xml [line 477,column 39] :
> ${project.build.di
> rectory} is not a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> reference :
> template = archetype-resources/pom.xml [line 477,column 66] :
> ${cargo.container}
> is not a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> reference :
> template = archetype-resources/pom.xml [line 479,column 53] : ${cargo.host}
> is n
> ot a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> reference :
> template = archetype-resources/pom.xml [line 480,column 57] : ${cargo.port}
> is n
> ot a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> reference :
> template = archetype-resources/pom.xml [line 514,column 61] :
> ${project.build.fi
> nalName} is not a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> reference :
> template = archetype-resources/pom.xml [line 514,column 102] :
> ${user.language}
> is not a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> reference :
> template = archetype-resources/pom.xml [line 515,column 89] : ${test} is not
> a v
> alid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> reference :
> template = archetype-resources/pom.xml [line 516,column 75] :
> ${user.language} i
> s not a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> reference :
> template = archetype-resources/pom.xml [line 517,column 73] :
> ${project.build.fi
> nalName} is not a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> reference :
> template = archetype-resources/pom.xml [line 518,column 66] : ${cargo.host}
> is n
> ot a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> reference :
> template = archetype-resources/pom.xml [line 519,column 66] : ${cargo.port}
> is n
> ot a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> reference :
> template = archetype-resources/pom.xml [line 535,column 42] :
> ${webtest.version}
> is not a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> reference :
> template = archetype-resources/pom.xml [line 663,column 39] :
> ${env.JBOSS_HOME}
> is not a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> reference :
> template = archetype-resources/pom.xml [line 693,column 31] :
> ${env.CATALINA_HOM
> E} is not a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> reference :
> template =
> archetype-resources/src/main/resources/ApplicationResources_ko.proper
> ties [line 6,column 23] : ${pom.version} is not a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> reference :
> template =
> archetype-resources/src/main/resources/ApplicationResources_ko.proper
> ties [line 9,column 16] : ${copyright.year} is not a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> reference :
> template = archetype-resources/src/site/site.xml [line 15,column 5] :
> ${reports}
> is not a valid reference.
>
>
>
> mraible wrote:
> >
> > ApplicationResources_zh_CN.properties looks fine on my system. I've
> > copied the first few lines of the file below so you can verify. Are
> > you on Windows?
> >
> > You might try deleting ~/.m2/repository/org/appfuse to make sure you
> > have the latest archetype.
> >
> > ## Do NOT delete! Keep this line to avoid the native2ascii UTF-8 BOM
> > bug. See #APF-639
> >
> > user.status=当前用户:
> > user.logout=退出
> >
> > # -- validator errors --
> > errors.invalid={0} 无效。
> > errors.maxlength={0} 不能大于 {1} 个字符。
> > errors.minlength={0} 不能少于 {1} 个字符。
> > errors.range={0} 未在 {1} 与 {2} 范围内。
> > errors.required={0} 为必填项。
> > errors.byte={0} 必须为byte类型。
> > errors.date={0} 不是有效日期格式。
> > errors.double={0} 必须为double类型。
> > errors.float={0} 必须为float类型。
> > errors.integer={0} 必须为一数值。
> > errors.long={0} 必须为long类型。
> > errors.short={0} 必须为short类型。
> > errors.creditcard={0} 为无效信用卡号。
> > errors.email={0} 为无效邮件地址。
> > errors.phone={0} 为无效电话号码。
> > errors.zip={0} 为无效邮政编码。
> >
> > Matt
> >
> > On 9/17/07, nessus <[EMAIL PROTECTED]> wrote:
> >>
> >> Matt,
> >>
> >> After creating,
> >> If I run mvn jetty:run-war, zh_CN.properties is fine which I use at mose
> >> cases;
> >> If I run mvn appfuse:full-source (whether after creating or after
> >> jetty:run-war), this file is deleted first and then copied back, at this
> >> time the content become unreadable.
> >>
> >> So I think the problem resides where the files are copied from and the
> >> source are well encoded?
> >>
> >> Need help about this problem which might be slightly different from
> >> yesterday's.
> >> Nessus.
> >>
> >>
> >> mraible wrote:
> >> >
> >> > Which files become unreadable? I just tried this and opened up
> >> > ApplicationResources_ko.properties before and after in TextWrangler
> >> > and it looks fine.
> >> >
> >> > Matt
> >> >
> >> > On 9/17/07, nessus <[EMAIL PROTECTED]> wrote:
> >> >>
> >> >> Matt,
> >> >>
> >> >> according to http://issues.appfuse.org/browse/APF-891,
> >> >>
> >> >> after mvn archetype:create -DarchetypeGroupId=org.appfuse.archetypes
> >> >> -DarchetypeArtifactId=appfuse-basic-struts
> >> >> -DremoteRepositories=http://static.appfuse.org/repository
> >> >> -DarchetypeVersion=2.0-SNAPSHOT -DgroupId=com.mycompany.app
> >> >> -DartifactId=myproject these files are well encoded, but when mvn
> >> >> appfuse:full-source BUILD SUCCESSFUL, all these files became
> >> unreadable.
> >> >>
> >> >> please check it.
> >> >>
> >> >>
> >> >> mraible wrote:
> >> >> >
> >> >> > The ApplicationResources_*.properties files should be fixed as well.
> >> >> > Have you seen different?
> >> >> >
> >> >> > Matt
> >> >> >
> >> >> > On 9/17/07, nessus <[EMAIL PROTECTED]> wrote:
> >> >> >>
> >> >> >> Matt,
> >> >> >>
> >> >> >> thank you, the full-source and jetty:run works fine now.
> >> >> >>
> >> >> >> But would you like recheck the original question of this thread?
> >> that
> >> >> is,
> >> >> >> the applicationresources_*.properties files again became
> >> human-unread.
> >> >> >>
> >> >> >> nessus.
> >> >> >>
> >> >> >>
> >> >> >> mraible wrote:
> >> >> >> >
> >> >> >> > On 9/16/07, nessus <[EMAIL PROTECTED]> wrote:
> >> >> >> >>
> >> >> >> >> hi, matt,
> >> >> >> >>
> >> >> >> >> the question is as subject. And the reproducible scenario is: I
> >> >> tried
> >> >> >> to
> >> >> >> >> create a totally new test project by running the command
> >> >> >> >> D:\nessus\appfuse>mvn archetype:create
> >> >> >> >> -DarchetypeGroupId=org.appfuse.archetypes
> >> >> >> >> -DarchetypeArtifactId=appfuse-basic-struts
> >> >> >> >> -DremoteRepositories=http://static.a
> >> >> >> >> ppfuse.org/repository -DarchetypeVersion=2.0-SNAPSHOT
> >> >> >> >> -DgroupId=com.etpass.etpay
> >> >> >> >> -DartifactId=payet, then I found all the
> >> >> >> >> ApplicationResources_*.properties
> >> >> >> >> were not well internationalized, like the one I would use and
> >> >> attached
> >> >> >> >> with
> >> >> >> >> this post.
> >> >> >> >>
> >> >> >> >> This problem didnot occur before the weekend. So can you figure
> >> out
> >> >> >> what
> >> >> >> >> modification you made caused this problem?
> >> >> >> >
> >> >> >> > Thank you for testing 2.0. You are correct, this is a bug. I've
> >> >> fixed
> >> >> >> > it and redeployed the latest archetypes. If you rm -r
> >> >> >> > ~/.m2/repository/org/appfuse/archetypes, it should work now.
> >> >> >> >
> >> >> >> > The cause of the problem seems to be copy/pasting files in IDEA
> >> >> rather
> >> >> >> > than doing it using Finder (or Windows Explorer).
> >> >> >> >
> >> >> >> >>
> >> >> >> >> Another question is I need all the souce file to add some
> >> attribute
> >> >> to
> >> >> >> >> User,
> >> >> >> >> Role, and my own logic to authenticate User. But before the
> >> weekend
> >> >> I
> >> >> >> >> tried
> >> >> >> >> mvn appfuse:full-source and all the source codes were retrieved,
> >> >> while
> >> >> >> I
> >> >> >> >> could not successfully run mvn jetty:run again. I did not
> >> snapshot
> >> >> the
> >> >> >> >> venue, but I remembered the exception is it could not locate the
> >> >> >> >> org.appfuse.....StartupListener, whereas it should be my own
> >> >> >> >> com.etpass.....StartupListener. Am I right?
> >> >> >> >
> >> >> >> > Using full-source should work. It sounds like it might've failed
> >> to
> >> >> >> > rename your packages - especially if it's looking for
> >> org.appfuse.*.
> >> >> >> >
> >> >> >> >> Or if my solution is not the brightest way which needs all
> >> source
> >> >> >> code,
> >> >> >> >> would you recommend a better one?
> >> >> >> >
> >> >> >> > This is the best solution for now. Of course, if you just want to
> >> >> >> > modify User, you can just modify the model objects using the
> >> >> following
> >> >> >> > guide.
> >> >> >> >
> >> >> >> > http://appfuse.org/display/APF/AppFuse+Core+Classes
> >> >> >> >
> >> >> >> > This won't allow you to modify the StartupListener, but you can
> >> >> always
> >> >> >> > copy/paste the code into your own listener and replace the
> >> >> <listener>
> >> >> >> > in web.xml with yours.
> >> >> >> >
> >> >> >> > Hope this helps,
> >> >> >> >
> >> >> >> > Matt
> >> >> >> >
> >> >> >> >>
> >> >> >> >> thank you, matt, and others.
> >> >> >> >>
> >> >> >> >>
> >> >> >>
> >> >>
> >> http://www.nabble.com/file/p12728469/ApplicationResources_zh_CN.properties
> >> >> >> >> ApplicationResources_zh_CN.properties
> >> >> >> >> --
> >> >> >> >> View this message in context:
> >> >> >> >>
> >> >> >>
> >> >>
> >> http://www.nabble.com/Is-AppFuse-well-versioned--tf4463967s2369.html#a12728469
> >> >> >> >> Sent from the AppFuse - User mailing list archive at Nabble.com.
> >> >> >> >>
> >> >> >> >>
> >> >> ---------------------------------------------------------------------
> >> >> >> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> >> >> >> For additional commands, e-mail: [EMAIL PROTECTED]
> >> >> >> >>
> >> >> >> >>
> >> >> >> >
> >> >> >> >
> >> >> >> > --
> >> >> >> > http://raibledesigns.com
> >> >> >> >
> >> >> >> >
> >> >> ---------------------------------------------------------------------
> >> >> >> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> >> >> > For additional commands, e-mail: [EMAIL PROTECTED]
> >> >> >> >
> >> >> >> >
> >> >> >> >
> >> >> >>
> >> >> >> --
> >> >> >> View this message in context:
> >> >> >>
> >> >>
> >> http://www.nabble.com/Is-AppFuse-well-versioned--tf4463967s2369.html#a12748393
> >> >> >> Sent from the AppFuse - User mailing list archive at Nabble.com.
> >> >> >>
> >> >> >>
> >> ---------------------------------------------------------------------
> >> >> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> >> >> For additional commands, e-mail: [EMAIL PROTECTED]
> >> >> >>
> >> >> >>
> >> >> >
> >> >> >
> >> >> > --
> >> >> > http://raibledesigns.com
> >> >> >
> >> >> >
> >> ---------------------------------------------------------------------
> >> >> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> >> > For additional commands, e-mail: [EMAIL PROTECTED]
> >> >> >
> >> >> >
> >> >> >
> >> >>
> >> >> --
> >> >> View this message in context:
> >> >>
> >> http://www.nabble.com/Is-AppFuse-well-versioned--tf4463967s2369.html#a12748832
> >> >> Sent from the AppFuse - User mailing list archive at Nabble.com.
> >> >>
> >> >> ---------------------------------------------------------------------
> >> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> >> For additional commands, e-mail: [EMAIL PROTECTED]
> >> >>
> >> >>
> >> >
> >> >
> >> > --
> >> > http://raibledesigns.com
> >> >
> >> > ---------------------------------------------------------------------
> >> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> > For additional commands, e-mail: [EMAIL PROTECTED]
> >> >
> >> >
> >> >
> >>
> >> --
> >> View this message in context:
> >> http://www.nabble.com/Is-AppFuse-well-versioned--tf4463967s2369.html#a12749542
> >> Sent from the AppFuse - User mailing list archive at Nabble.com.
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >>
> >
> >
> > --
> > http://raibledesigns.com
> >
> >
>
>
> --
> View this message in context:
> http://www.nabble.com/Is-AppFuse-well-versioned--tf4463967s2369.html#a12749662
>
> Sent from the AppFuse - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
--
http://raibledesigns.com