Skip to main content



      Home
Home » Archived » Eclipse Examples » Problem with package structure(Problem with package structure)
Problem with package structure [message #539982] Mon, 14 June 2010 10:03 Go to next message
Eclipse UserFriend
Hi,

I imported a project using build.xml. My source files are in a single folder instead of package structure. But package is defined in the source files. When these files are loaded into eclipse, it gives error related to package. But I am to compile the project. But the classes are not generated in the corresponding packages as specified in the source file. If I compile the ant target seperatly outside eclipse , then the classes are generated in package structure. In build.xml , for javac destdir is specified.

Can anyone help me in resolving these package issue in eclipse. The condition is , I should not create proper package structure for source files and I should not remove the package declaration from the source file.

Thanks and Regards,
Kumar Thirumalai
Re: Problem with package structure [message #540650 is a reply to message #539982] Wed, 16 June 2010 16:12 Go to previous message
Eclipse UserFriend
I recommend that you pose this question on the eclipse.newcomer forum.

Good luck,

Wayne

thirumalaikumar@rediffmail.com wrote:
> Hi,
>
> I imported a project using build.xml. My source files are in a single
> folder instead of package structure. But package is defined in the
> source files. When these files are loaded into eclipse, it gives error
> related to package. But I am to compile the project. But the classes are
> not generated in the corresponding packages as specified in the source
> file. If I compile the ant target seperatly outside eclipse , then the
> classes are generated in package structure. In build.xml , for javac
> destdir is specified.
> Can anyone help me in resolving these package issue in eclipse. The
> condition is , I should not create proper package structure for source
> files and I should not remove the package declaration from the source file.
>
> Thanks and Regards,
> Kumar Thirumalai
Previous Topic:Missing WYSIWYG P JSP Palette
Next Topic:Missing WYSIWYG P JSP Palette
Goto Forum:
  


Current Time: Mon Mar 17 18:32:53 EDT 2025

Powered by FUDForum. Page generated in 0.03747 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top