[jetty-dev] RE: Trouble building I-Jetty
"Salzwedel, Mark" <[email protected]> Wed, 19 Jun 2013 16:15:41 +0000
| Newsgroups | gmane.comp.java.jetty.general |
|---|---|
| Message-ID | <70BA01DF6DC518418E4D8664FF42DB2B0D481C7E@MSPM1BMSGM34.ent.core.medtronic.com> |
--_000_70BA01DF6DC518418E4D8664FF42DB2B0D481C7EMSPM1BMSGM34ent_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
(I saw this e-mail address on the I-Jetty build instructions page - hopefull=
y it's appropriate to use for this question - I'm having trouble finding any=
active support for any of this...)
I'm a newbie to Android, Maven, web technologies, etc. - so my apologies in=
advance if my questions seem na=EFve. Right now I'm just trying to build t=
he I-Jetty server (I need to add Bluetooth permissions to the manifest - but=
I haven't changed anything yet), and I'm having build errors:
When building as-is I get these errors:
[ERROR] Failed to execute goal com.jayway.maven.plugins.android.generation2:=
maven-android-plugin:2.9.0-beta-5:generate-sources (default-generate-sources=
) on project i-jetty: MojoExecutionException: ANDROID-040-001: Could not exe=
cute: Command =3D cmd.exe /X /C "C:\Development\adt-bundle-windows-x86_64-20=
130219\sdk\platforms\android-4\tools\aapt.exe package -m -J C:\Development\i=
-jetty-read-only\i-jetty\i-jetty-ui\target\generated-sources\r -M C:\Develop=
ment\i-jetty-read-only\i-jetty\i-jetty-ui\AndroidManifest.xml -S C:\Developm=
ent\i-jetty-read-only\i-jetty\i-jetty-ui\res --auto-add-overlay -A C:\Develo=
pment\i-jetty-read-only\i-jetty\i-jetty-ui\assets -I C:\Development\adt-bund=
le-windows-x86_64-20130219\sdk\platforms\android-4\android.jar", Result =3D=
1 -> [Help 1]
I found some instructions <http://code.google.com/p/i-jetty/issues/detail?id=
=3D106> on resolving which I followed:
In the pom.xml in i-jetty-ui folder, find these codes:
<groupid>com.jayway.maven.plugins.android.generation2</groupid>
<artifactid>maven-android-plugin</artifactid>
<version>2.9.0-beta-5</version>
Then change "maven-android-plugin" into "android-maven-plugin", and change "=
2.9.0-beta-5" into "3.0.0"
However - this change in turn causes these build errors (which seem related)=
:
[ERROR] Failed to execute goal com.jayway.maven.plugins.android.generation2:=
andr
oid-maven-plugin:3.0.0:generate-sources (default-generate-sources) on projec=
t i-
jetty: Execution default-generate-sources of goal com.jayway.maven.plugins.a=
ndro
id.generation2:android-maven-plugin:3.0.0:generate-sources failed: A require=
d cl
ass was missing while executing com.jayway.maven.plugins.android.generation2=
:and
roid-maven-plugin:3.0.0:generate-sources: Lorg/sonatype/aether/RepositorySys=
tem;
Based on this page<https://cwiki.apache.org/confluence/display/MAVEN/AetherC=
lassNotFound>, it appears that this bug (395) has been identified and is bei=
ng worked on. In the meantime, are there any suggestions for how I can work=
around this issue and compile I-Jetty with Bluetooth permissions???
Thanks in advance!!
-Mark
[CONFIDENTIALITY AND PRIVACY NOTICE]
Information transmitted by this email is proprietary to Medtronic and is int=
ended for use only by the individual or entity to which it is addressed, and=
may contain information that is private, privileged, confidential or exempt=
from disclosure under applicable law. If you are not the intended recipient=
or it appears that this mail has been forwarded to you without proper autho=
rity, you are notified that any use or dissemination of this information in=
any manner is strictly prohibited. In such cases, please delete this mail f=
rom your records.
To view this notice in other languages you can either select the following l=
ink or manually copy and paste the link into the address bar of a web browse=
r: http://emaildisclaimer.medtronic.com
--_000_70BA01DF6DC518418E4D8664FF42DB2B0D481C7EMSPM1BMSGM34ent_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Diso-8859-1=
">
<meta name=3D"Generator" content=3D"Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p
{mso-style-priority:99;
mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
pre
{mso-style-priority:99;
mso-style-link:"HTML Preformatted Char";
margin:0in;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Balloon Text Char";
margin:0in;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif";}
span.HTMLPreformattedChar
{mso-style-name:"HTML Preformatted Char";
mso-style-priority:99;
mso-style-link:"HTML Preformatted";
font-family:"Courier New";}
span.EmailStyle20
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.EmailStyle21
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.EmailStyle22
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.BalloonTextChar
{mso-style-name:"Balloon Text Char";
mso-style-priority:99;
mso-style-link:"Balloon Text";
font-family:"Tahoma","sans-serif";}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;color:#17375E;mso-sty=
le-textfill-fill-color:#17375E;mso-style-textfill-fill-alpha:100.0%">(I saw=
this e-mail address on the I-Jetty build instructions page – hopefull=
y it’s appropriate to use for this question
– I’m having trouble finding any active support for any of this=
…)<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;color:#17375E;mso-sty=
le-textfill-fill-color:#17375E;mso-style-textfill-fill-alpha:100.0%"><o:p>&n=
bsp;</o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;color:#17375E;mso-sty=
le-textfill-fill-color:#17375E;mso-style-textfill-fill-alpha:100.0%">I’=
;m a newbie to Android, Maven, web technologies, etc. – so my apologie=
s in advance if my questions seem na=EFve. Right
now I’m just trying to build the I-Jetty server (I need to add Blueto=
oth permissions to the manifest – but I haven’t changed anything=
yet), and I’m having build errors:<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;color:#17375E;mso-sty=
le-textfill-fill-color:#17375E;mso-style-textfill-fill-alpha:100.0%"><o:p>&n=
bsp;</o:p></span></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-al=
t:auto"><span style=3D"font-size:10.0pt;color:#17375E;mso-style-textfill-fil=
l-color:#17375E;mso-style-textfill-fill-alpha:100.0%">When building as-is I=
get these errors:
<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-al=
t:auto"><span style=3D"font-size:10.0pt;font-family:"Courier New""=
>[ERROR] Failed to execute goal com.jayway.maven.plugins.android.generation2=
:maven-android-plugin:2.9.0-beta-5:generate-sources
(default-generate-sources) on project i-jetty: MojoExecutionException: ANDR=
OID-040-001: Could not execute: Command =3D cmd.exe /X /C "C:\Developme=
nt\adt-bundle-windows-x86_64-20130219\sdk\platforms\android-4\tools\aapt.exe=
package -m -J C:\Development\i-jetty-read-only\i-jetty\i-jetty-ui\target\ge=
nerated-sources\r
-M C:\Development\i-jetty-read-only\i-jetty\i-jetty-ui\AndroidManifest.xml=
-S C:\Development\i-jetty-read-only\i-jetty\i-jetty-ui\res --auto-add-overl=
ay -A C:\Development\i-jetty-read-only\i-jetty\i-jetty-ui\assets -I C:\Devel=
opment\adt-bundle-windows-x86_64-20130219\sdk\platforms\android-4\android.ja=
r",
Result =3D 1 -> [Help 1] <o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-al=
t:auto"><span style=3D"font-size:10.0pt;color:#17375E;mso-style-textfill-fil=
l-color:#17375E;mso-style-textfill-fill-alpha:100.0%">I found
<a href=3D"http://code.google.com/p/i-jetty/issues/detail?id=3D106" target=
=3D"_top"><span style=3D"color:#17375E;mso-style-textfill-fill-color:#17375E=
;mso-style-textfill-fill-alpha:100.0%">some instructions
</span></a>on resolving which I followed: <o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt">In the pom.xml in i-=
jetty-ui folder, find these codes:<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt"><groupid>com.j=
ayway.maven.plugins.android.generation2</groupid><o:p></o:p></span></p=
>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt"><artifactid>ma=
ven-android-plugin</artifactid><o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt"><version>2.9.0=
-beta-5</version><o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt"><o:p> </o:p></s=
pan></p>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt">Then change "ma=
ven-android-plugin" into "android-maven-plugin", and change &=
quot;2.9.0-beta-5" into "3.0.0"<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-al=
t:auto"><span style=3D"font-size:10.0pt;color:#17375E;mso-style-textfill-fil=
l-color:#17375E;mso-style-textfill-fill-alpha:100.0%">However - this change=
in turn causes these build errors (which
seem related): <o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-al=
t:auto"><span style=3D"font-size:10.0pt;font-family:"Courier New""=
>[ERROR] Failed to execute goal com.jayway.maven.plugins.android.generation2=
:andr<br>
oid-maven-plugin:3.0.0:generate-sources (default-generate-sources) on projec=
t i-<br>
jetty: Execution default-generate-sources of goal com.jayway.maven.plugins.a=
ndro<br>
id.generation2:android-maven-plugin:3.0.0:generate-sources failed: A require=
d cl<br>
ass was missing while executing com.jayway.maven.plugins.android.generation2=
:and<br>
roid-maven-plugin:3.0.0:generate-sources: Lorg/sonatype/aether/RepositorySys=
tem; <o:p>
</o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;color:#17375E;mso-sty=
le-textfill-fill-color:#17375E;mso-style-textfill-fill-alpha:100.0%">Based o=
n
<a href=3D"https://cwiki.apache.org/confluence/display/MAVEN/AetherClassNotF=
ound" target=3D"_top">
<span style=3D"color:#17375E;mso-style-textfill-fill-color:#17375E;mso-style=
-textfill-fill-alpha:100.0%">this page</span></a>, it appears that this bug=
(395) has been identified and is being worked on. In the meantime, ar=
e there any suggestions for how I can
work around this issue and compile I-Jetty with Bluetooth permissions???<o:=
p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;color:#17375E;mso-sty=
le-textfill-fill-color:#17375E;mso-style-textfill-fill-alpha:100.0%"><o:p>&n=
bsp;</o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;color:#17375E;mso-sty=
le-textfill-fill-color:#17375E;mso-style-textfill-fill-alpha:100.0%">Thanks=
in advance!!<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;color:#17375E;mso-sty=
le-textfill-fill-color:#17375E;mso-style-textfill-fill-alpha:100.0%"><o:p>&n=
bsp;</o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;color:#17375E;mso-sty=
le-textfill-fill-color:#17375E;mso-style-textfill-fill-alpha:100.0%">-Mark<o=
:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p> </o:p></span=
></p>
</div>
<p>[CONFIDENTIALITY AND PRIVACY NOTICE]
Information transmitted by this email is proprietary to Medtronic and is int=
ended for use only by the individual or entity to which it is addressed, and=
may contain information that is private, privileged, confidential or exempt=
from disclosure under applicable law. If you are not the intended recipient=
or it appears that this mail has been forwarded to you without proper autho=
rity, you are notified that any use or dissemination of this information in=
any manner is strictly prohibited. In such cases, please delete this mail f=
rom your records.
To view this notice in other languages you can either select the following l=
ink or manually copy and paste the link into the address bar of a web browse=
r: http://emaildisclaimer.medtronic.com</p>
</body>
</html>
--_000_70BA01DF6DC518418E4D8664FF42DB2B0D481C7EMSPM1BMSGM34ent_--