You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Jason van Zyl <ja...@zenplex.com> on 2003/04/12 19:44:21 UTC
Re: Project description and Invalid byte 2 of 3-byte UTF-8
sequence.
On Sat, 2003-04-12 at 13:01, Bruno Antunes wrote:
> Having in the project description something like
>
> <?xml version="1.0" encoding="ISO-8859-1"?>
> <project>
> ...
>
> <description><![CDATA[
> <p>
> Este projecto é um template para a estrutura de gestão de configuração
> de qualquer projecto.
> </p>
> ]]></description>
>
> ...
> <project>
>
>
> When building (for example with manen site) gives us the error:
>
> BUILD FAILED
> null:509:46: <attainGoal> null:304:43: <x:parse> Invalid byte 2 of
> 3-byte UTF-8 sequence. Nested exception: Invalid byte 2 of 3-byte UTF-8
> sequence.
>
> This happens in beta 8 and 9. With beta 7 worked fine
Yes, this will be fixed in beta-10. In beta-9 I introduced interpolation
in the POM itself as wasn't very careful. As I only speak English i18n
issues aren't the first thing that pop into my mind and I apologize.
This will be fixed in the next release.
--
jvz.
Jason van Zyl
jason@zenplex.com
http://tambora.zenplex.org
In short, man creates for himself a new religion of a rational
and technical order to justify his work and to be justified in it.
-- Jacques Ellul, The Technological Society
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: war task not updating an existing war (plugin calls ant task)
Posted by Ben Hogan <be...@lizardsoftware.com>.
I had thought that a newer ant.jar (1.5.1) bundled with beta-9 might be the
cause of the change. on the other hand, I'm new to maven so ant might have
nothing to do with it.
----- Original Message -----
From: <di...@multitask.com.au>
To: "Maven Users List" <us...@maven.apache.org>
Sent: Sunday, April 13, 2003 3:29 AM
Subject: Re: war task not updating an existing war (plugin calls ant task)
> Ben,
>
> what's "new ant"?
> --
> dIon Gillard, Multitask Consulting
> Blog: http://www.freeroller.net/page/dion/Weblog
> Work: http://www.multitask.com.au
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: war task not updating an existing war (plugin calls ant task)
Posted by di...@multitask.com.au.
Ben,
what's "new ant"?
--
dIon Gillard, Multitask Consulting
Blog: http://www.freeroller.net/page/dion/Weblog
Work: http://www.multitask.com.au
"Ben Hogan" <be...@lizardsoftware.com> wrote on 13/04/2003 11:46:32 AM:
> I imagine that this is already fixed in the head, but for those of us
who
> downloaded the beta-9 release....
>
> the new maven download (beta-9) in the war plugin uses new ant and its
war
> task, but does not specify update="true".
>
> workaround: use a pre-goal to delete the file like so (in maven.xml):
>
> <preGoal name="war:war">
> <delete file="${maven.war.build.dir}/${pom.artifactId}.war" />
> </preGoal>
>
> example of a war call that might work every time:
>
> <war warfile="${maven.war.build.dir}/${maven.war.final.name}"
> webxml="${maven.war.webxml}" update="true" >
>
> Ben Hogan
> ben@lizardsoftware.com
> http://beagile.com/
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: war task not updating an existing war (plugin calls ant task)
Posted by di...@multitask.com.au.
Just fixed this in HEAD, thanks.
I've placed a snapshot of the war plugin at:
http://www.ibiblio.org/maven/maven/jars/maven-war-plugin-SNAPSHOT.jar
You can place this jar in $MAVEN_HOME/plugins instead of the 1.3 version.
Which reminds me, we really need a plugin:download goal for the plugin
plugin.
--
dIon Gillard, Multitask Consulting
Blog: http://www.freeroller.net/page/dion/Weblog
Work: http://www.multitask.com.au
"Ben Hogan" <be...@lizardsoftware.com> wrote on 13/04/2003 11:46:32 AM:
> I imagine that this is already fixed in the head, but for those of us
who
> downloaded the beta-9 release....
>
> the new maven download (beta-9) in the war plugin uses new ant and its
war
> task, but does not specify update="true".
>
> workaround: use a pre-goal to delete the file like so (in maven.xml):
>
> <preGoal name="war:war">
> <delete file="${maven.war.build.dir}/${pom.artifactId}.war" />
> </preGoal>
>
> example of a war call that might work every time:
>
> <war warfile="${maven.war.build.dir}/${maven.war.final.name}"
> webxml="${maven.war.webxml}" update="true" >
>
> Ben Hogan
> ben@lizardsoftware.com
> http://beagile.com/
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
war task not updating an existing war (plugin calls ant task)
Posted by Ben Hogan <be...@lizardsoftware.com>.
I imagine that this is already fixed in the head, but for those of us who
downloaded the beta-9 release....
the new maven download (beta-9) in the war plugin uses new ant and its war
task, but does not specify update="true".
workaround: use a pre-goal to delete the file like so (in maven.xml):
<preGoal name="war:war">
<delete file="${maven.war.build.dir}/${pom.artifactId}.war" />
</preGoal>
example of a war call that might work every time:
<war warfile="${maven.war.build.dir}/${maven.war.final.name}"
webxml="${maven.war.webxml}" update="true" >
Ben Hogan
ben@lizardsoftware.com
http://beagile.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
RE: Project description and Invalid byte 2 of 3-byte UTF-8sequence.
Posted by Alexei Barantsev <ba...@kazbek.ispras.ru>.
I think I have already fixed it in HEAD a couple of days ago.
See MavenUtils, Revision 1.92.
Diff against previous revision:
http://cvs.apache.org/viewcvs.cgi/maven/src/java/org/apache/maven/MavenU
tils.java.diff?r1=1.91&r2=1.92&diff_format=h
--
Alexei Barantsev, ISP RAS
E-mail: barancev@kazbek.ispras.ru
ICQ : 3959207
> -----Original Message-----
> From: Jason van Zyl [mailto:jason@zenplex.com]
> Sent: Saturday, April 12, 2003 9:44 PM
> To: Maven Users List
> Subject: Re: Project description and Invalid byte 2 of
> 3-byte UTF-8sequence.
>
>
> On Sat, 2003-04-12 at 13:01, Bruno Antunes wrote:
> > Having in the project description something like
> >
> > <?xml version="1.0" encoding="ISO-8859-1"?>
> > <project>
> > ...
> >
> > <description><![CDATA[
> > <p>
> > Este projecto й um template para a estrutura de gestгo de
> configuraзгo
> > de qualquer projecto.
> > </p>
> > ]]></description>
> >
> > ...
> > <project>
> >
> >
> > When building (for example with manen site) gives us the error:
> >
> > BUILD FAILED
> > null:509:46: <attainGoal> null:304:43: <x:parse> Invalid byte 2 of
> > 3-byte UTF-8 sequence. Nested exception: Invalid byte 2
> of 3-byte UTF-8
> > sequence.
> >
> > This happens in beta 8 and 9. With beta 7 worked fine
>
> Yes, this will be fixed in beta-10. In beta-9 I introduced
> interpolation in the POM itself as wasn't very careful. As
> I only speak English i18n issues aren't the first thing
> that pop into my mind and I apologize. This will be fixed
> in the next release.
>
> --
> jvz.
>
> Jason van Zyl
> jason@zenplex.com
> http://tambora.zenplex.org
>
> In short, man creates for himself a new religion of a
> rational and technical order to justify his work and to be
> justified in it.
>
> -- Jacques Ellul, The Technological Society
>
>
> ------------------------------------------------------------
> ---------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org