You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Simon Laws (JIRA)" <de...@tuscany.apache.org> on 2010/02/04 14:18:28 UTC

[jira] Created: (TUSCANY-3457) maven-bundle-plugin filtering manually specified manifests

maven-bundle-plugin filtering manually specified manifests
----------------------------------------------------------

                 Key: TUSCANY-3457
                 URL: https://issues.apache.org/jira/browse/TUSCANY-3457
             Project: Tuscany
          Issue Type: Bug
          Components: Build System
    Affects Versions: Java-SCA-2.0
         Environment: All
            Reporter: Simon Laws


I've noticed that if I put a manually generated manifest in the distribution/all/manifests directory then not all of the contents of the file are copied to the target directory during build. For example I was trying to create a fragment bundle but, while the rest of the manifest was copied (proved by modifying the bundle name in the manifest) it wouldn't copy the 

Fragment-Host: org.apache.axis2.kernel

entry. I note that the bundle plugin reads the manifest into a manifest structure and writes it out again. I don't know much about manifests and how they are processed so in the mean time I'm changing the code to just copy the file in this case. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Re: [jira] Created: (TUSCANY-3457) maven-bundle-plugin filtering manually specified manifests

Posted by Raymond Feng <en...@gmail.com>.
Hi,

Reading the MF into a Manifest object can perform some validations of the 
MF. The format of your MF might have been invalid. Can you attach it so that 
we can take a look?

Thanks,
Raymond
--------------------------------------------------
From: "Simon Laws (JIRA)" <de...@tuscany.apache.org>
Sent: Thursday, February 04, 2010 5:18 AM
To: <de...@tuscany.apache.org>
Subject: [jira] Created: (TUSCANY-3457) maven-bundle-plugin filtering 
manually specified manifests

> maven-bundle-plugin filtering manually specified manifests
> ----------------------------------------------------------
>
>                 Key: TUSCANY-3457
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-3457
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Build System
>    Affects Versions: Java-SCA-2.0
>         Environment: All
>            Reporter: Simon Laws
>
>
> I've noticed that if I put a manually generated manifest in the 
> distribution/all/manifests directory then not all of the contents of the 
> file are copied to the target directory during build. For example I was 
> trying to create a fragment bundle but, while the rest of the manifest was 
> copied (proved by modifying the bundle name in the manifest) it wouldn't 
> copy the
>
> Fragment-Host: org.apache.axis2.kernel
>
> entry. I note that the bundle plugin reads the manifest into a manifest 
> structure and writes it out again. I don't know much about manifests and 
> how they are processed so in the mean time I'm changing the code to just 
> copy the file in this case.
>
> -- 
> This message is automatically generated by JIRA.
> -
> You can reply to this email to add a comment to the issue online.
> 

[jira] Assigned: (TUSCANY-3457) maven-bundle-plugin filtering manually specified manifests

Posted by "Simon Laws (JIRA)" <de...@tuscany.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-3457?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Simon Laws reassigned TUSCANY-3457:
-----------------------------------

    Assignee: Simon Laws

> maven-bundle-plugin filtering manually specified manifests
> ----------------------------------------------------------
>
>                 Key: TUSCANY-3457
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-3457
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Build System
>    Affects Versions: Java-SCA-2.0
>         Environment: All
>            Reporter: Simon Laws
>            Assignee: Simon Laws
>
> I've noticed that if I put a manually generated manifest in the distribution/all/manifests directory then not all of the contents of the file are copied to the target directory during build. For example I was trying to create a fragment bundle but, while the rest of the manifest was copied (proved by modifying the bundle name in the manifest) it wouldn't copy the 
> Fragment-Host: org.apache.axis2.kernel
> entry. I note that the bundle plugin reads the manifest into a manifest structure and writes it out again. I don't know much about manifests and how they are processed so in the mean time I'm changing the code to just copy the file in this case. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.