You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@roller.apache.org by John Langan <la...@homes.com> on 2008/02/18 21:34:34 UTC

Roller in NetBeans


Are there any instructions on setting up the Roller source code as a project
in NetBeans so I can edit java and jsp files? 
I thought this would be straightforward but don't seem to be able to get a
working project.
I have tried creating a new project as a Web Application with Existing
Sources and with Existing Ant Script and setting the project at the
apache-roller-src-4.0 folder level and the weblogger folder level but with
no success.
The file structure in NetBeans does not seem to reflect that of the source
code and most of the java files have red warning signs indicating missing
imports. Are there other jar files that I need to add to the project? I did
add mail.jar to apache-roller-src-4.0\tools\buildtime.
 


RE: Roller in NetBeans

Posted by John Langan <la...@homes.com>.
Arvind,
Thanks for the help. I also had to add rome-0.9.1-dev.jar and
commons-httpclient-3.0.1.jar to the java source classpath. Now all the
errors have gone.
John.

-----Original Message-----
From: Arvind Gupta [mailto:arvind.bernaulli@gmail.com] 
Sent: Wednesday, February 20, 2008 11:54 AM
To: user@roller.apache.org
Subject: Re: Roller in NetBeans

John

-add rom-propono-0.7.jar to java source classpth (rightclick project, in
categories) look for java sources classpath).

arvind

On 20/02/2008, John Langan <la...@homes.com> wrote:
>
> Dave,
> Thanks for the advice, which I have followed, but I am getting unavailable
> imports.
> Arvind, I am getting the same errors as you did with unavailable imports
> from com.sun.syndication.*
> Also I have unavailable imports for
> import org.apache.commons.httpclient.HttpClient;
> import org.apache.commons.httpclient.HttpMethod;
> import org.apache.commons.httpclient.HttpStatus;
> import org.apache.commons.httpclient.methods.PostMethod;
>
> John.
>
>
> -----Original Message-----
> From: Arvind Gupta [mailto:arvind.bernaulli@gmail.com]
> Sent: Wednesday, February 20, 2008 5:03 AM
> To: user@roller.apache.org
> Subject: Re: Roller in NetBeans
>
> Hi Dave
>
> I did the same but still getting errors in src. I am getting errors
> because
> these classes are unavailable...
>
> import com.sun.syndication.feed.atom.Entry;
> import com.sun.syndication.feed.atom.Feed;
>
> Can u tell me  workaround  for  this. I am using netbeans 6.0.1
>
> -arvind
>
>
>
>
> project
> On 20/02/2008, Dave <sn...@gmail.com> wrote:
> >
> > I would recommend getting the code from SVN and doing an Ant build as
> > described here:
> > http://cwiki.apache.org/confluence/display/ROLLER/Build+Guide
> >
> > Then open up the Netbeans project in apps/weblogger.
> >
> > - Dave
> >
> >
> > On Feb 18, 2008 3:34 PM, John Langan <la...@homes.com> wrote:
> > >
> > >
> > > Are there any instructions on setting up the Roller source code as a
> > project
> > > in NetBeans so I can edit java and jsp files?
> > > I thought this would be straightforward but don't seem to be able to
> get
> > a
> > > working project.
> > > I have tried creating a new project as a Web Application with Existing
> > > Sources and with Existing Ant Script and setting the project at the
> > > apache-roller-src-4.0 folder level and the weblogger folder level but
> > with
> > > no success.
> > > The file structure in NetBeans does not seem to reflect that of the
> > source
> > > code and most of the java files have red warning signs indicating
> > missing
> > > imports. Are there other jar files that I need to add to the project?
> I
> > did
> > > add mail.jar to apache-roller-src-4.0\tools\buildtime.
> > >
> > >
> > >
> >
>
>


Re: Roller in NetBeans

Posted by Arvind Gupta <ar...@gmail.com>.
John

-add rom-propono-0.7.jar to java source classpth (rightclick project, in
categories) look for java sources classpath).

arvind

On 20/02/2008, John Langan <la...@homes.com> wrote:
>
> Dave,
> Thanks for the advice, which I have followed, but I am getting unavailable
> imports.
> Arvind, I am getting the same errors as you did with unavailable imports
> from com.sun.syndication.*
> Also I have unavailable imports for
> import org.apache.commons.httpclient.HttpClient;
> import org.apache.commons.httpclient.HttpMethod;
> import org.apache.commons.httpclient.HttpStatus;
> import org.apache.commons.httpclient.methods.PostMethod;
>
> John.
>
>
> -----Original Message-----
> From: Arvind Gupta [mailto:arvind.bernaulli@gmail.com]
> Sent: Wednesday, February 20, 2008 5:03 AM
> To: user@roller.apache.org
> Subject: Re: Roller in NetBeans
>
> Hi Dave
>
> I did the same but still getting errors in src. I am getting errors
> because
> these classes are unavailable...
>
> import com.sun.syndication.feed.atom.Entry;
> import com.sun.syndication.feed.atom.Feed;
>
> Can u tell me  workaround  for  this. I am using netbeans 6.0.1
>
> -arvind
>
>
>
>
> project
> On 20/02/2008, Dave <sn...@gmail.com> wrote:
> >
> > I would recommend getting the code from SVN and doing an Ant build as
> > described here:
> > http://cwiki.apache.org/confluence/display/ROLLER/Build+Guide
> >
> > Then open up the Netbeans project in apps/weblogger.
> >
> > - Dave
> >
> >
> > On Feb 18, 2008 3:34 PM, John Langan <la...@homes.com> wrote:
> > >
> > >
> > > Are there any instructions on setting up the Roller source code as a
> > project
> > > in NetBeans so I can edit java and jsp files?
> > > I thought this would be straightforward but don't seem to be able to
> get
> > a
> > > working project.
> > > I have tried creating a new project as a Web Application with Existing
> > > Sources and with Existing Ant Script and setting the project at the
> > > apache-roller-src-4.0 folder level and the weblogger folder level but
> > with
> > > no success.
> > > The file structure in NetBeans does not seem to reflect that of the
> > source
> > > code and most of the java files have red warning signs indicating
> > missing
> > > imports. Are there other jar files that I need to add to the project?
> I
> > did
> > > add mail.jar to apache-roller-src-4.0\tools\buildtime.
> > >
> > >
> > >
> >
>
>

RE: Roller in NetBeans

Posted by John Langan <la...@homes.com>.
Dave, 
Thanks for the advice, which I have followed, but I am getting unavailable
imports.
Arvind, I am getting the same errors as you did with unavailable imports
from com.sun.syndication.*
Also I have unavailable imports for 
import org.apache.commons.httpclient.HttpClient;
import org.apache.commons.httpclient.HttpMethod;
import org.apache.commons.httpclient.HttpStatus;
import org.apache.commons.httpclient.methods.PostMethod;

John.
 

-----Original Message-----
From: Arvind Gupta [mailto:arvind.bernaulli@gmail.com] 
Sent: Wednesday, February 20, 2008 5:03 AM
To: user@roller.apache.org
Subject: Re: Roller in NetBeans

Hi Dave

I did the same but still getting errors in src. I am getting errors because
these classes are unavailable...

import com.sun.syndication.feed.atom.Entry;
import com.sun.syndication.feed.atom.Feed;

Can u tell me  workaround  for  this. I am using netbeans 6.0.1

-arvind




project
On 20/02/2008, Dave <sn...@gmail.com> wrote:
>
> I would recommend getting the code from SVN and doing an Ant build as
> described here:
> http://cwiki.apache.org/confluence/display/ROLLER/Build+Guide
>
> Then open up the Netbeans project in apps/weblogger.
>
> - Dave
>
>
> On Feb 18, 2008 3:34 PM, John Langan <la...@homes.com> wrote:
> >
> >
> > Are there any instructions on setting up the Roller source code as a
> project
> > in NetBeans so I can edit java and jsp files?
> > I thought this would be straightforward but don't seem to be able to get
> a
> > working project.
> > I have tried creating a new project as a Web Application with Existing
> > Sources and with Existing Ant Script and setting the project at the
> > apache-roller-src-4.0 folder level and the weblogger folder level but
> with
> > no success.
> > The file structure in NetBeans does not seem to reflect that of the
> source
> > code and most of the java files have red warning signs indicating
> missing
> > imports. Are there other jar files that I need to add to the project? I
> did
> > add mail.jar to apache-roller-src-4.0\tools\buildtime.
> >
> >
> >
>


Re: Roller in NetBeans

Posted by Arvind Gupta <ar...@gmail.com>.
Hi Dave

I did the same but still getting errors in src. I am getting errors because
these classes are unavailable...

import com.sun.syndication.feed.atom.Entry;
import com.sun.syndication.feed.atom.Feed;

Can u tell me  workaround  for  this. I am using netbeans 6.0.1

-arvind




project
On 20/02/2008, Dave <sn...@gmail.com> wrote:
>
> I would recommend getting the code from SVN and doing an Ant build as
> described here:
> http://cwiki.apache.org/confluence/display/ROLLER/Build+Guide
>
> Then open up the Netbeans project in apps/weblogger.
>
> - Dave
>
>
> On Feb 18, 2008 3:34 PM, John Langan <la...@homes.com> wrote:
> >
> >
> > Are there any instructions on setting up the Roller source code as a
> project
> > in NetBeans so I can edit java and jsp files?
> > I thought this would be straightforward but don't seem to be able to get
> a
> > working project.
> > I have tried creating a new project as a Web Application with Existing
> > Sources and with Existing Ant Script and setting the project at the
> > apache-roller-src-4.0 folder level and the weblogger folder level but
> with
> > no success.
> > The file structure in NetBeans does not seem to reflect that of the
> source
> > code and most of the java files have red warning signs indicating
> missing
> > imports. Are there other jar files that I need to add to the project? I
> did
> > add mail.jar to apache-roller-src-4.0\tools\buildtime.
> >
> >
> >
>

Re: Roller in NetBeans

Posted by Dave <sn...@gmail.com>.
I would recommend getting the code from SVN and doing an Ant build as
described here:
http://cwiki.apache.org/confluence/display/ROLLER/Build+Guide

Then open up the Netbeans project in apps/weblogger.

- Dave


On Feb 18, 2008 3:34 PM, John Langan <la...@homes.com> wrote:
>
>
> Are there any instructions on setting up the Roller source code as a project
> in NetBeans so I can edit java and jsp files?
> I thought this would be straightforward but don't seem to be able to get a
> working project.
> I have tried creating a new project as a Web Application with Existing
> Sources and with Existing Ant Script and setting the project at the
> apache-roller-src-4.0 folder level and the weblogger folder level but with
> no success.
> The file structure in NetBeans does not seem to reflect that of the source
> code and most of the java files have red warning signs indicating missing
> imports. Are there other jar files that I need to add to the project? I did
> add mail.jar to apache-roller-src-4.0\tools\buildtime.
>
>
>

Re: Roller in NetBeans

Posted by Arvind Gupta <ar...@gmail.com>.
John

Now I am having errorless build.Can u tell me what error u r getting?

arvind
On 19/02/2008, John Langan <la...@homes.com> wrote:
>
>
>
> Are there any instructions on setting up the Roller source code as a
> project
> in NetBeans so I can edit java and jsp files?
> I thought this would be straightforward but don't seem to be able to get a
> working project.
> I have tried creating a new project as a Web Application with Existing
> Sources and with Existing Ant Script and setting the project at the
> apache-roller-src-4.0 folder level and the weblogger folder level but with
> no success.
> The file structure in NetBeans does not seem to reflect that of the source
> code and most of the java files have red warning signs indicating missing
> imports. Are there other jar files that I need to add to the project? I
> did
> add mail.jar to apache-roller-src-4.0\tools\buildtime.
>
>
>