aspose file tools*
The moose likes JBoss/WildFly and the fly likes Building Seam projects in Eclipse Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Building Seam projects in Eclipse" Watch "Building Seam projects in Eclipse" New topic
Author

Building Seam projects in Eclipse

Ryan Waggoner
Ranch Hand

Joined: Jun 27, 2007
Posts: 75
Hey guys,
I am sorry if this should be in a different section but...

I created a Seam project a little while ago, and it generated its own ant build script (something I am unfamiliar with.)
Every time I build my project, I get 100 or so errors report from Eclipse, until I do a Project --> Clean....then everything seems to be fine.
This is just a small annoyance that I can't figure out. Here is the generated ant script...



Any thoughts?

Thanks!
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5845
    
    7

Could you post the first few errors that you get? Also, how did you create the Seam project? Via Eclipse? Via seamgen? I assume that when you say you build your project that you are doing that in Eclipse. If so, is your project configured to use the Ant script for the build? I'd hate to spent time debugging the Ant script if Eclipse is not even using it.


JBoss In Action
Ryan Waggoner
Ranch Hand

Joined: Jun 27, 2007
Posts: 75
Hey Peter,
I am using seam gen to create the project. And I did make sure Eclipse is really using the ant script that seam gen created.

I attached a ss of my errors. You will notice that they are all occurring in the file that I currently had open when I built the project. None of these errors exist after cleaning my project.

Thanks!



[Thumbnail for antBuildErrors.JPG]

Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5845
    
    7

Those are all Java compilation errors. Looks like the classpath is not being set properly for some reason. Why, I don't know. Try adding the -v option to the ant build options (I think you can do that) and look at the ant output, that might give some clues.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Building Seam projects in Eclipse