Re: [Dev] Output directory for maven-bundle-plugin

2015-11-19 Thread Chamara Philips
Hi Geesara,

Can you please try with the absolute path to the project.outputDirectory?
It worked for me.
As I remember, there was a problem with having spaces in the path, for
folders.
But not sure whether it was for this plugin.

Thanks.

On Tue, Nov 10, 2015 at 9:16 PM, Geesara Prathap  wrote:

> Hi All,
>
> I started creating an OSGI bundle. So It works fine. But when I add output
> directory in configuration section in maven bundle plugin, it won't add any
> of compiled classes. Simply say, the classpath is empty.  Is there anything
> which I configured in a wrong way.
> This is the build section of pom.xml.
>
>**
> *
>  /home/wso2/products/wso2esb-
> 4.9.0/repository/components/dropins*
> *   *
>
> **
>
> **
>
> **
>
> *maven-compiler-plugin*
>
> *3.3*
>
> **
>
> *1.7*
>
> *1.7*
>
> **
>
> **
>
> **
>
> *org.apache.felix*
>
> *maven-bundle-plugin*
>
> *1.4.0*
>
> *true*
>
> **
>
> **
>
> *
> ${project.artifactId}*
>
> *${project.artifactId}*
>
> *
> org.wso2.carbon.demo.Activator*
>
> **
>
> *org.wso2.carbon.demo.orderprocess.**
>
> **
>
> **
>
> *
> ${project.outputDirectory}*
>
> **
>
> **
>
> **
>
> **
>
>
> According to this[1]
> ,
> it is a bug in the maven bundle plugin. Is this actually a bug or something
> wrong with my configuration.
>
> 1.
> http://stackoverflow.com/questions/9943392/classpath-empty-when-adding-outputdirectory-to-pom
>
> Thanks,
> --
> Geesara Prathap Kulathunga
> Software Engineer
> WSO2 Inc; http://wso2.com
> Mobile : +940772684174
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Hareendra Chamara P h i l i p s
*Software  Engineer*
Mobile : +94 (0) 767 184161 <%2B94%20%280%29%20773%20451194>
chama...@wso2.com 
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Output directory for maven-bundle-plugin

2015-11-19 Thread Geesara Prathap
Hi Chamara,

Nope, it didn't work either.

Thanks,

On Fri, Nov 20, 2015 at 8:38 AM, Chamara Philips  wrote:

> Hi Geesara,
>
> Can you please try with the absolute path to the project.outputDirectory?
> It worked for me.
> As I remember, there was a problem with having spaces in the path, for
> folders.
> But not sure whether it was for this plugin.
>
> Thanks.
>
> On Tue, Nov 10, 2015 at 9:16 PM, Geesara Prathap  wrote:
>
>> Hi All,
>>
>> I started creating an OSGI bundle. So It works fine. But when I add
>> output directory in configuration section in maven bundle plugin, it won't
>> add any of compiled classes. Simply say, the classpath is empty.  Is there
>> anything which I configured in a wrong way.
>> This is the build section of pom.xml.
>>
>>**
>> *
>>  /home/wso2/products/wso2esb-
>> 4.9.0/repository/components/dropins*
>> *   *
>>
>> **
>>
>> **
>>
>> **
>>
>> *maven-compiler-plugin*
>>
>> *3.3*
>>
>> **
>>
>> *1.7*
>>
>> *1.7*
>>
>> **
>>
>> **
>>
>> **
>>
>> *org.apache.felix*
>>
>> *maven-bundle-plugin*
>>
>> *1.4.0*
>>
>> *true*
>>
>> **
>>
>> **
>>
>> *
>> ${project.artifactId}*
>>
>> *${project.artifactId}*
>>
>> *
>> org.wso2.carbon.demo.Activator*
>>
>> **
>>
>> *org.wso2.carbon.demo.orderprocess.**
>>
>> **
>>
>> **
>>
>> *
>> ${project.outputDirectory}*
>>
>> **
>>
>> **
>>
>> **
>>
>> **
>>
>>
>> According to this[1]
>> ,
>> it is a bug in the maven bundle plugin. Is this actually a bug or something
>> wrong with my configuration.
>>
>> 1.
>> http://stackoverflow.com/questions/9943392/classpath-empty-when-adding-outputdirectory-to-pom
>>
>> Thanks,
>> --
>> Geesara Prathap Kulathunga
>> Software Engineer
>> WSO2 Inc; http://wso2.com
>> Mobile : +940772684174
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Hareendra Chamara P h i l i p s
> *Software  Engineer*
> Mobile : +94 (0) 767 184161 <%2B94%20%280%29%20773%20451194>
> chama...@wso2.com 
>
>


-- 
Geesara Prathap Kulathunga
Software Engineer
WSO2 Inc; http://wso2.com
Mobile : +940772684174
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Output directory for maven-bundle-plugin

2015-11-10 Thread Geesara Prathap
Hi All,

I started creating an OSGI bundle. So It works fine. But when I add output
directory in configuration section in maven bundle plugin, it won't add any
of compiled classes. Simply say, the classpath is empty.  Is there anything
which I configured in a wrong way.
This is the build section of pom.xml.

   **
*
 /home/wso2/products/wso2esb-
4.9.0/repository/components/dropins*
*   *

**

**

**

*maven-compiler-plugin*

*3.3*

**

*1.7*

*1.7*

**

**

**

*org.apache.felix*

*maven-bundle-plugin*

*1.4.0*

*true*

**

**

*
${project.artifactId}*

*${project.artifactId}*

*
org.wso2.carbon.demo.Activator*

**

*org.wso2.carbon.demo.orderprocess.**

**

**

*
${project.outputDirectory}*

**

**

**

**


According to this[1]
,
it is a bug in the maven bundle plugin. Is this actually a bug or something
wrong with my configuration.

1.
http://stackoverflow.com/questions/9943392/classpath-empty-when-adding-outputdirectory-to-pom

Thanks,
-- 
Geesara Prathap Kulathunga
Software Engineer
WSO2 Inc; http://wso2.com
Mobile : +940772684174
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev