Closed GoogleCodeExporter closed 9 years ago
No, this is right!
Is a pom which point to another artifacts. And those are SWCs and RB SWCs
Original comment by velo...@gmail.com
on 23 Aug 2008 at 1:47
Agreed, flex-framework should be pom. What about
http://svn.sonatype.org/flexmojos/repository/com/adobe/flex/framework/flex/3.1.0
.2710/flex-3.1.0.2710.pom
It doesn't point to other artifacts. Should it be swc?
Original comment by Hannes.S...@gmail.com
on 23 Aug 2008 at 6:09
Ok, you win :D
Original comment by velo...@gmail.com
on 23 Aug 2008 at 6:23
[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Prefix string too short
[INFO] ------------------------------------------------------------------------
[INFO] Trace
java.lang.IllegalArgumentException: Prefix string too short
at java.io.File.createTempFile(Unknown Source)
at java.io.File.createTempFile(Unknown Source)
at info.flexmojos.install.AbstractInstallMojo.createTempFile(AbstractIns
tallMojo.java:427)
at info.flexmojos.install.AbstractInstallMojo.installResourceBundleBeaco
n(AbstractInstallMojo.java:301)
at info.flexmojos.install.AbstractInstallMojo.installResourceBundleArtif
acts(AbstractInstallMojo.java:262)
at info.flexmojos.install.AbstractInstallMojo.installFlexFrameworkArtifa
cts(AbstractInstallMojo.java:153)
at info.flexmojos.install.AbstractInstallMojo.execute(AbstractInstallMoj
o.java:353)
at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
nManager.java:451)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:558)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandalone
Goal(DefaultLifecycleExecutor.java:512)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
ltLifecycleExecutor.java:482)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
dleFailures(DefaultLifecycleExecutor.java:330)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
ts(DefaultLifecycleExecutor.java:227)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
fecycleExecutor.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)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 9 seconds
[INFO] Finished at: Fri Oct 24 11:36:19 MSD 2008
[INFO] Final Memory: 4M/8M
[INFO] ------------------------------------------------------------------------
step reproduce
1) install flex-mojos 2.0M7
2) download flex sdk to C:\flex_sdk_3.2.0.3643
3) run "mvn info.flex-mojos:install-mojo:install-sdk -Dflex.sdk.folder="C:
\flex_sdk_3.2.0.3643" -Dversion=3.2.0.3643"
Original comment by deve...@gmail.com
on 24 Oct 2008 at 7:39
generated pom must include dependendency. now
info.flex-mojos:install-mojo:install-
sdk is invalid.
Original comment by deve...@gmail.com
on 24 Oct 2008 at 7:40
install-sdk mojo create artefactId as framework, but your super pom use flex-
framework. Please, fix it.
Original comment by deve...@gmail.com
on 24 Oct 2008 at 8:40
Comments 4, 5 and 6 are not related to this issue.
flex-mojos will not generate framework, rcp, whatever poms with dependencies.
Specially because I don't know the dependencies tree to every SWCs available on
FDK
(which can include 3rd party too)
install SDK does generate flex-framework dependency.
I used install-mojo several time, never saw this "Prefix string too short"
ERROR.
Please start a new discussion at group or open a new issue for that.
VELO
Original comment by velo...@gmail.com
on 24 Oct 2008 at 10:39
[deleted comment]
>> flex-mojos will not generate framework, rcp, whatever poms with
dependencies.
Really. Means everything is all right (except artefactId - I create separate
issue).
Thanks you for excellent plug-in.
Original comment by deve...@gmail.com
on 24 Oct 2008 at 12:07
Yo! I install flex-mojo on freebsd and flex-mojos generate valid dependencies
and no
any java.lang.IllegalArgumentException.
Original comment by deve...@gmail.com
on 24 Oct 2008 at 3:39
Packaging is fixed at TRUNK
Original comment by velo...@gmail.com
on 21 Jan 2009 at 6:59
Original issue reported on code.google.com by
Hannes.S...@gmail.com
on 23 Aug 2008 at 7:57