Re: RED Cross on newly created .java class file

2009-09-05 Thread Abdullah Shaikh
All your classes will go in your component jar in build/lib of your
component. All the required ofbiz classes/jar are already on the classpath.
Have you modified your java build path ? For which classes are you getting
the errors ?

On Sat, Sep 5, 2009 at 1:44 AM, su2  wrote:

>
> Yes I guess I just have one jar file in build/lib, I do not see new jar
> file
> for my new java class. This is what I understood from your explanation. Am
> I
> understanding correctly ?
>
>
>
> abdullah shaikh wrote:
> >
> > You need to put the required jars on the classpath, you can find the jars
> > under the build/lib directory of the components, but you can still
> compile
> > &
> > run ofbiz using ant as it sets the required jars on path.
> >
> > On Fri, Sep 4, 2009 at 11:05 PM, su2  wrote:
> >
> >>
> >> Hi All,
> >>
> >> I created new .java class file in src folder. But I am getting red cross
> >> on
> >> the file and because of that I think, I am getting red cross on all
> above
> >> directories too.
> >>
> >> Do anybody have any idea the reason behind this ?
> >>
> >> I really appreciate the help.
> >>
> >> Thank you.
> >>
> >> --
> >> View this message in context:
> >>
> http://www.nabble.com/RED-Cross-on-newly-created-.java-class-file-tp25298736p25298736.html
> >> Sent from the OFBiz - User mailing list archive at Nabble.com.
> >>
> >>
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/RED-Cross-on-newly-created-.java-class-file-tp25298736p25301163.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>
>


Re: RED Cross on newly created .java class file

2009-09-04 Thread su2

Yes I guess I just have one jar file in build/lib, I do not see new jar file
for my new java class. This is what I understood from your explanation. Am I
understanding correctly ?



abdullah shaikh wrote:
> 
> You need to put the required jars on the classpath, you can find the jars
> under the build/lib directory of the components, but you can still compile
> &
> run ofbiz using ant as it sets the required jars on path.
> 
> On Fri, Sep 4, 2009 at 11:05 PM, su2  wrote:
> 
>>
>> Hi All,
>>
>> I created new .java class file in src folder. But I am getting red cross
>> on
>> the file and because of that I think, I am getting red cross on all above
>> directories too.
>>
>> Do anybody have any idea the reason behind this ?
>>
>> I really appreciate the help.
>>
>> Thank you.
>>
>> --
>> View this message in context:
>> http://www.nabble.com/RED-Cross-on-newly-created-.java-class-file-tp25298736p25298736.html
>> Sent from the OFBiz - User mailing list archive at Nabble.com.
>>
>>
> 
> 

-- 
View this message in context: 
http://www.nabble.com/RED-Cross-on-newly-created-.java-class-file-tp25298736p25301163.html
Sent from the OFBiz - User mailing list archive at Nabble.com.



Re: RED Cross on newly created .java class file

2009-09-04 Thread Abdullah Shaikh
You need to put the required jars on the classpath, you can find the jars
under the build/lib directory of the components, but you can still compile &
run ofbiz using ant as it sets the required jars on path.

On Fri, Sep 4, 2009 at 11:05 PM, su2  wrote:

>
> Hi All,
>
> I created new .java class file in src folder. But I am getting red cross on
> the file and because of that I think, I am getting red cross on all above
> directories too.
>
> Do anybody have any idea the reason behind this ?
>
> I really appreciate the help.
>
> Thank you.
>
> --
> View this message in context:
> http://www.nabble.com/RED-Cross-on-newly-created-.java-class-file-tp25298736p25298736.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>
>


Re: RED Cross on newly created .java class file

2009-09-04 Thread Jacques Le Roux
I guess : you are in Eclipse, you use Subclipse, and this means that if you want to put thes files in repository you have to add 
them to the repository (using Subclipse). If I'm right, look for help on Subclipse...


Jacques

From: "su2" 


Hi All,

I created new .java class file in src folder. But I am getting red cross on
the file and because of that I think, I am getting red cross on all above
directories too.

Do anybody have any idea the reason behind this ?

I really appreciate the help.

Thank you.

--
View this message in context: 
http://www.nabble.com/RED-Cross-on-newly-created-.java-class-file-tp25298736p25298736.html
Sent from the OFBiz - User mailing list archive at Nabble.com.






RED Cross on newly created .java class file

2009-09-04 Thread su2

Hi All,

I created new .java class file in src folder. But I am getting red cross on
the file and because of that I think, I am getting red cross on all above
directories too.

Do anybody have any idea the reason behind this ?

I really appreciate the help.

Thank you.

-- 
View this message in context: 
http://www.nabble.com/RED-Cross-on-newly-created-.java-class-file-tp25298736p25298736.html
Sent from the OFBiz - User mailing list archive at Nabble.com.