On Mon, Aug 16, 2010 at 2:01 PM, Afkham Azeez <[email protected]> wrote:
> Try updating the P2 plugin.


It is in latest revision.

Regards,
Shankar


> Azeez
>
> On Mon, Aug 16, 2010 at 1:31 PM, Selvaratnam Uthaiyashankar
> <[email protected]> wrote:
>>
>> When compiling carbon core, getting following error (I am in windows,
>> and using JDK 1.6). Any idea?
>>
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Building WSO2 Carbon - Carbon P2 Profile
>> [INFO]    task-segment: [clean, install]
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] [clean:clean {execution: default-clean}]
>> [INFO] Deleting directory
>> G:\src\java\carbon\core\p2-profile-generation\carbon-p2-profile\target
>> [INFO] [dependency:unpack {execution: 1-unpack-p2-agent-distribution}]
>> [INFO] Configured Artifact:
>> org.wso2.carbon:wso2-p2-agent:3.0.0-SNAPSHOT:zip
>> [INFO] Configured Artifact:
>> org.wso2.carbon:wso2-p2-agent:3.0.0-SNAPSHOT:zip
>> [INFO] Expanding:
>>
>> G:\Garbage\MavenRepo\org\wso2\carbon\wso2-p2-agent\3.0.0-SNAPSHOT\wso2-p2-agent-3.0.0-SNAPSHOT.zip
>> int
>> o
>> G:\src\java\carbon\core\p2-profile-generation\carbon-p2-profile\target\p2-agent
>> [INFO] Expanding:
>>
>> G:\Garbage\MavenRepo\org\wso2\carbon\wso2-p2-agent\3.0.0-SNAPSHOT\wso2-p2-agent-3.0.0-SNAPSHOT.zip
>> int
>> o
>> G:\src\java\carbon\core\p2-profile-generation\carbon-p2-profile\target\carbon-p2-profile
>> [INFO] [site:attach-descriptor {execution: default-attach-descriptor}]
>> [INFO] [carbon-p2:p2-repo-gen {execution: 2-p2-repo-generation}]
>> [ERROR] URI is not hierarchical
>> java.lang.IllegalArgumentException: URI is not hierarchical
>>        at java.io.File.<init>(File.java:363)
>>        at
>> org.wso2.maven.p2.RepositoryGenMojo.createAndSetupPaths(RepositoryGenMojo.java:419)
>>        at
>> org.wso2.maven.p2.RepositoryGenMojo.createRepo(RepositoryGenMojo.java:195)
>>        at
>> org.wso2.maven.p2.RepositoryGenMojo.execute(RepositoryGenMojo.java:187)
>>        at
>> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
>>        at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
>>        at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:55
>> 6)
>>        at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
>>        at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.jav
>> a:387)
>>        at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
>>        at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
>>        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
>>        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
>>        at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
>>        at
>> org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
>>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>        at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>        at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>        at java.lang.reflect.Method.invoke(Method.java:597)
>>        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]
>> ------------------------------------------------------------------------
>> [ERROR] BUILD ERROR
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] URI is not hierarchical
>>
>> --
>> S.Uthaiyashankar
>> Senior Software Architect
>> WSO2 Inc.
>> http://wso2.com/ - "lean . enterprise . middleware"
>>
>> _______________________________________________
>> Carbon-dev mailing list
>> [email protected]
>> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>
>
> --
> Afkham Azeez
> Senior Software Architect & Senior Manager; WSO2, Inc.; http://wso2.com,
> Lean . Enterprise . Middleware
> Member; Apache Software Foundation; http://www.apache.org/
> email: [email protected] cell: +94 77 3320919
> blog: http://blog.afkham.org
> twitter: http://twitter.com/afkham_azeez
> linked-in: http://lk.linkedin.com/in/afkhamazeez
>
> _______________________________________________
> Carbon-dev mailing list
> [email protected]
> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>



-- 
S.Uthaiyashankar
Senior Software Architect
WSO2 Inc.
http://wso2.com/ - "lean . enterprise . middleware"

_______________________________________________
Carbon-dev mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to