RED Cross on newly created .java class file

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

RED Cross on newly created .java class file

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.
Reply | Threaded
Open this post in threaded view
|

Re: RED Cross on newly created .java class file

Jacques Le Roux
Administrator
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" <[hidden email]>

>
> 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.
>


Reply | Threaded
Open this post in threaded view
|

Re: RED Cross on newly created .java class file

Abdullah Shaikh-3
In reply to this post by su2
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 <[hidden email]> 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.
>
>
su2
Reply | Threaded
Open this post in threaded view
|

Re: RED Cross on newly created .java class file

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 <shuchi@pexsupply.com> 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.
>
>
Reply | Threaded
Open this post in threaded view
|

Re: RED Cross on newly created .java class file

Abdullah Shaikh-3
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 <[hidden email]> 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 <[hidden email]> 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.
>
>