Distributing Ofbiz without the source file

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Distributing Ofbiz without the source file

Foo Shyn Chung
Hi All,

We're currently using Ofbiz as the base framework and build custom modules
on top of it and distribute it to our clients. However we would like to
exclude all the java files from the distribute package, and after some
search through google i can't manage to find any existing solution (or i use
the wrong search terms?)

What we want to achieve is to have a clean distribution package WITHOUT any
java files inside.

Any kind souls can help to point me to the right direction?

Thanx
FooShyn
Reply | Threaded
Open this post in threaded view
|

Re: Distributing Ofbiz without the source file

Malin Nicolas
On unix system, at ofbiz root directory :
ant && find -name *.java -delete

Nicolas

Le 12/08/2011 06:32, Foo Shyn Chung a écrit :

> Hi All,
>
> We're currently using Ofbiz as the base framework and build custom modules
> on top of it and distribute it to our clients. However we would like to
> exclude all the java files from the distribute package, and after some
> search through google i can't manage to find any existing solution (or i use
> the wrong search terms?)
>
> What we want to achieve is to have a clean distribution package WITHOUT any
> java files inside.
>
> Any kind souls can help to point me to the right direction?
>
> Thanx
> FooShyn
>


--
Nicolas MALIN
Consultant
Tél : 06.17.66.40.06
Site projet : http://www.neogia.org/
-------
Société LibrenBerry
Tél : 02.48.02.56.12
Site : http://www.librenberry.net/

Reply | Threaded
Open this post in threaded view
|

Re: Distributing Ofbiz without the source file

BJ Freeman
In reply to this post by Foo Shyn Chung
Eclipse has an export function the removes the .svn folder and you
define other folders and or files.

another way is to write a script to copy folder to a new root folder
with the folders/files, like the create-component in the build.xml

Foo Shyn Chung sent the following on 8/11/2011 9:32 PM:

> Hi All,
>
> We're currently using Ofbiz as the base framework and build custom modules
> on top of it and distribute it to our clients. However we would like to
> exclude all the java files from the distribute package, and after some
> search through google i can't manage to find any existing solution (or i use
> the wrong search terms?)
>
> What we want to achieve is to have a clean distribution package WITHOUT any
> java files inside.
>
> Any kind souls can help to point me to the right direction?
>
> Thanx
> FooShyn
>
Reply | Threaded
Open this post in threaded view
|

Re: Distributing Ofbiz without the source file

Foo Shyn Chung
Hmm so it means the build.xml that comes together with the package doesn't
already have a task to do this ya?

Guess i'll need to come up with my own ant task to do this?

Thanx
FooShyn

On Fri, Aug 12, 2011 at 5:13 PM, BJ Freeman <[hidden email]> wrote:

> Eclipse has an export function the removes the .svn folder and you
> define other folders and or files.
>
> another way is to write a script to copy folder to a new root folder
> with the folders/files, like the create-component in the build.xml
>
> Foo Shyn Chung sent the following on 8/11/2011 9:32 PM:
> > Hi All,
> >
> > We're currently using Ofbiz as the base framework and build custom
> modules
> > on top of it and distribute it to our clients. However we would like to
> > exclude all the java files from the distribute package, and after some
> > search through google i can't manage to find any existing solution (or i
> use
> > the wrong search terms?)
> >
> > What we want to achieve is to have a clean distribution package WITHOUT
> any
> > java files inside.
> >
> > Any kind souls can help to point me to the right direction?
> >
> > Thanx
> > FooShyn
> >
>
Reply | Threaded
Open this post in threaded view
|

Re: Distributing Ofbiz without the source file

Jacques Le Roux
Administrator
"Ant -p" would tell you that yes there is not a such target

Jacques

From: "Foo Shyn Chung" <[hidden email]>

> Hmm so it means the build.xml that comes together with the package doesn't
> already have a task to do this ya?
>
> Guess i'll need to come up with my own ant task to do this?
>
> Thanx
> FooShyn
>
> On Fri, Aug 12, 2011 at 5:13 PM, BJ Freeman <[hidden email]> wrote:
>
>> Eclipse has an export function the removes the .svn folder and you
>> define other folders and or files.
>>
>> another way is to write a script to copy folder to a new root folder
>> with the folders/files, like the create-component in the build.xml
>>
>> Foo Shyn Chung sent the following on 8/11/2011 9:32 PM:
>> > Hi All,
>> >
>> > We're currently using Ofbiz as the base framework and build custom
>> modules
>> > on top of it and distribute it to our clients. However we would like to
>> > exclude all the java files from the distribute package, and after some
>> > search through google i can't manage to find any existing solution (or i
>> use
>> > the wrong search terms?)
>> >
>> > What we want to achieve is to have a clean distribution package WITHOUT
>> any
>> > java files inside.
>> >
>> > Any kind souls can help to point me to the right direction?
>> >
>> > Thanx
>> > FooShyn
>> >
>>
>

Reply | Threaded
Open this post in threaded view
|

Re: Distributing Ofbiz without the source file

BJ Freeman
In reply to this post by Foo Shyn Chung
you can also create you own migrate.xml called by ant.


Foo Shyn Chung sent the following on 8/12/2011 6:47 AM:

> Hmm so it means the build.xml that comes together with the package doesn't
> already have a task to do this ya?
>
> Guess i'll need to come up with my own ant task to do this?
>
> Thanx
> FooShyn
>
> On Fri, Aug 12, 2011 at 5:13 PM, BJ Freeman <[hidden email]> wrote:
>
>> Eclipse has an export function the removes the .svn folder and you
>> define other folders and or files.
>>
>> another way is to write a script to copy folder to a new root folder
>> with the folders/files, like the create-component in the build.xml
>>
>> Foo Shyn Chung sent the following on 8/11/2011 9:32 PM:
>>> Hi All,
>>>
>>> We're currently using Ofbiz as the base framework and build custom
>> modules
>>> on top of it and distribute it to our clients. However we would like to
>>> exclude all the java files from the distribute package, and after some
>>> search through google i can't manage to find any existing solution (or i
>> use
>>> the wrong search terms?)
>>>
>>> What we want to achieve is to have a clean distribution package WITHOUT
>> any
>>> java files inside.
>>>
>>> Any kind souls can help to point me to the right direction?
>>>
>>> Thanx
>>> FooShyn
>>>
>>
>