2 projs in single wrkspace in eclipse

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

2 projs in single wrkspace in eclipse

myofbiz
Hii all
I have a question can some one help me out please

Cant I put 2 ofbiz projs in a single workspace.

Actually I have my application1  in one ofbiz  and application2(same as application1 with few changes) in other ofbiz but in same workspace.
When I run the first Ofbiz  in eclipse, I think its running the application2 in second ofbiz...Iam confused...Is it not correct to place 2 different ofbiz frameworks in single frame work.

Thankyou



     
Reply | Threaded
Open this post in threaded view
|

Re: 2 projs in single wrkspace in eclipse

Jacques Le Roux
Administrator
From: "adithi agarwal" <[hidden email]>
> Hii all
> I have a question can some one help me out please
>
> Cant I put 2 ofbiz projs in a single workspace.

You just need to have different names for them. Actually at the moment I have at least 5 OFBiz instances in the same Eclipse
worlkspace.
Of course then you have to deal with them, but should be easy since OFBizRun is not the same as OFBizDev for instance...

> Actually I have my application1  in one ofbiz  and application2(same as application1 with few changes) in other ofbiz but in same
> workspace.
> When I run the first Ofbiz  in eclipse, I think its running the application2 in second ofbiz...Iam confused...Is it not correct to
> place 2 different ofbiz frameworks in single frame work.

This should not happen as they have not the same pathes. Check this point in your code (static links ?)

Jacques


> Thankyou
>
>
>
>

Reply | Threaded
Open this post in threaded view
|

Re: 2 projs in single wrkspace in eclipse

myofbiz
In reply to this post by myofbiz
Thankyou for your reply ..But you know what...when i Build the ofbiz1 and run ofbiz1, I could  run the  appl2 as well .(Actually I should not be able to run appln2 if iam correct)

Thanks..




----- Original Message ----
From: Jacques Le Roux <[hidden email]>
To: [hidden email]
Sent: Friday, October 3, 2008 12:29:57 PM
Subject: Re: 2 projs in single wrkspace in eclipse

From: "adithi agarwal" <[hidden email]>
> Hii all
> I have a question can some one help me out please
>
> Cant I put 2 ofbiz projs in a single workspace.

You just need to have different names for them. Actually at the moment I have at least 5 OFBiz instances in the same Eclipse
worlkspace.
Of course then you have to deal with them, but should be easy since OFBizRun is not the same as OFBizDev for instance...

> Actually I have my application1  in one ofbiz  and application2(same as application1 with few changes) in other ofbiz but in same
> workspace.
> When I run the first Ofbiz  in eclipse, I think its running the application2 in second ofbiz...Iam confused...Is it not correct to
> place 2 different ofbiz frameworks in single frame work.

This should not happen as they have not the same pathes. Check this point in your code (static links ?)

Jacques


> Thankyou
>
>
>
>


     
Reply | Threaded
Open this post in threaded view
|

Re: 2 projs in single wrkspace in eclipse

Jacques Le Roux
Administrator
This should not be possible since you have to use different ports set for each OFBiz instance hence for each embedded applications
(of course this means also that you run both instances simultaneously)
In other words, we need more details to help you...

Jacques

From: "adithi agarwal" <[hidden email]>

> Thankyou for your reply ..But you know what...when i Build the ofbiz1 and run ofbiz1, I could  run the  appl2 as well .(Actually I
> should not be able to run appln2 if iam correct)
>
> Thanks..
>
>
>
>
> ----- Original Message ----
> From: Jacques Le Roux <[hidden email]>
> To: [hidden email]
> Sent: Friday, October 3, 2008 12:29:57 PM
> Subject: Re: 2 projs in single wrkspace in eclipse
>
> From: "adithi agarwal" <[hidden email]>
>> Hii all
>> I have a question can some one help me out please
>>
>> Cant I put 2 ofbiz projs in a single workspace.
>
> You just need to have different names for them. Actually at the moment I have at least 5 OFBiz instances in the same Eclipse
> worlkspace.
> Of course then you have to deal with them, but should be easy since OFBizRun is not the same as OFBizDev for instance...
>
>> Actually I have my application1  in one ofbiz  and application2(same as application1 with few changes) in other ofbiz but in same
>> workspace.
>> When I run the first Ofbiz  in eclipse, I think its running the application2 in second ofbiz...Iam confused...Is it not correct
>> to
>> place 2 different ofbiz frameworks in single frame work.
>
> This should not happen as they have not the same pathes. Check this point in your code (static links ?)
>
> Jacques
>
>
>> Thankyou
>>
>>
>>
>>
>
>
>

Reply | Threaded
Open this post in threaded view
|

Re: 2 projs in single wrkspace in eclipse

myofbiz
In reply to this post by myofbiz
Thankyou..

actually I did not change the port numbers...port numbers for both of them(ofbiz instances) are the same...This may be the reason... for such a mess.(Actually I thought whichever Ofbiz instance I build and run, applications only in that instance will work and not those of other instances)
May I know which all port numbers should I change .

Thanks



----- Original Message ----
From: Jacques Le Roux <[hidden email]>
To: [hidden email]
Sent: Friday, October 3, 2008 1:13:40 PM
Subject: Re: 2 projs in single wrkspace in eclipse

This should not be possible since you have to use different ports set for each OFBiz instance hence for each embedded applications
(of course this means also that you run both instances simultaneously)
In other words, we need more details to help you...

Jacques

From: "adithi agarwal" <[hidden email]>

> Thankyou for your reply ..But you know what...when i Build the ofbiz1 and run ofbiz1, I could  run the  appl2 as well .(Actually I
> should not be able to run appln2 if iam correct)
>
> Thanks..
>
>
>
>
> ----- Original Message ----
> From: Jacques Le Roux <[hidden email]>
> To: [hidden email]
> Sent: Friday, October 3, 2008 12:29:57 PM
> Subject: Re: 2 projs in single wrkspace in eclipse
>
> From: "adithi agarwal" <[hidden email]>
>> Hii all
>> I have a question can some one help me out please
>>
>> Cant I put 2 ofbiz projs in a single workspace.
>
> You just need to have different names for them. Actually at the moment I have at least 5 OFBiz instances in the same Eclipse
> worlkspace.
> Of course then you have to deal with them, but should be easy since OFBizRun is not the same as OFBizDev for instance...
>
>> Actually I have my application1  in one ofbiz  and application2(same as application1 with few changes) in other ofbiz but in same
>> workspace.
>> When I run the first Ofbiz  in eclipse, I think its running the application2 in second ofbiz...Iam confused...Is it not correct
>> to
>> place 2 different ofbiz frameworks in single frame work.
>
> This should not happen as they have not the same pathes. Check this point in your code (static links ?)
>
> Jacques
>
>
>> Thankyou
>>
>>
>>
>>
>
>
>


     
Reply | Threaded
Open this post in threaded view
|

Re: 2 projs in single wrkspace in eclipse

Jacques Le Roux
Administrator
http://docs.ofbiz.org/display/OFBTECH/Apache+OFBiz+Technical+Production+Setup+Guide#ApacheOFBizTechnicalProductionSetupGuide-URLandPortSettings

But actually changing 8080 and 8443 ports is enough for testing. Just look for these numbers in Eclipse (*.xml,*.prop*).

At a time I considered adding an offset for them, but it's as easy to change in a smart IDE.

Jacques

From: "adithi agarwal" <[hidden email]>

> Thankyou..
>
> actually I did not change the port numbers...port numbers for both of them(ofbiz instances) are the same...This may be the
> reason... for such a mess.(Actually I thought whichever Ofbiz instance I build and run, applications only in that instance will
> work and not those of other instances)
> May I know which all port numbers should I change .
>
> Thanks
>
>
>
> ----- Original Message ----
> From: Jacques Le Roux <[hidden email]>
> To: [hidden email]
> Sent: Friday, October 3, 2008 1:13:40 PM
> Subject: Re: 2 projs in single wrkspace in eclipse
>
> This should not be possible since you have to use different ports set for each OFBiz instance hence for each embedded applications
> (of course this means also that you run both instances simultaneously)
> In other words, we need more details to help you...
>
> Jacques
>
> From: "adithi agarwal" <[hidden email]>
>> Thankyou for your reply ..But you know what...when i Build the ofbiz1 and run ofbiz1, I could  run the  appl2 as well .(Actually
>> I
>> should not be able to run appln2 if iam correct)
>>
>> Thanks..
>>
>>
>>
>>
>> ----- Original Message ----
>> From: Jacques Le Roux <[hidden email]>
>> To: [hidden email]
>> Sent: Friday, October 3, 2008 12:29:57 PM
>> Subject: Re: 2 projs in single wrkspace in eclipse
>>
>> From: "adithi agarwal" <[hidden email]>
>>> Hii all
>>> I have a question can some one help me out please
>>>
>>> Cant I put 2 ofbiz projs in a single workspace.
>>
>> You just need to have different names for them. Actually at the moment I have at least 5 OFBiz instances in the same Eclipse
>> worlkspace.
>> Of course then you have to deal with them, but should be easy since OFBizRun is not the same as OFBizDev for instance...
>>
>>> Actually I have my application1  in one ofbiz  and application2(same as application1 with few changes) in other ofbiz but in
>>> same
>>> workspace.
>>> When I run the first Ofbiz  in eclipse, I think its running the application2 in second ofbiz...Iam confused...Is it not correct
>>> to
>>> place 2 different ofbiz frameworks in single frame work.
>>
>> This should not happen as they have not the same pathes. Check this point in your code (static links ?)
>>
>> Jacques
>>
>>
>>> Thankyou
>>>
>>>
>>>
>>>
>>
>>
>>
>
>
>