[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-1655) Cannot add new files to Seam project

Chris Simons (JIRA) jira-events at lists.jboss.org
Tue Jan 29 09:56:59 EST 2008


    [ http://jira.jboss.com/jira/browse/JBIDE-1655?page=comments#action_12397355 ] 
            
Chris Simons commented on JBIDE-1655:
-------------------------------------

Viacheslav and Max,

When you pointed to the .settings directory, it reminded me that I had always wondered if this was the problem.

Let me run down the steps I did to fix this issue (it also, coincidentally, fixed another bug that I had entered into JIRA, I will put these same comments there, too)...

I found that my /project/.settings/org.jboss.tools.jst.web.xml  was *missing*.

I copied this file from a test project called "jsfpallete" and let Eclipse injest it.  I then closed Eclipse and the program added a bunch of additional libraries to the file akin to my project (JBoss Seam, IceFaces, etc.).  I made a few adjustments to the file, specifically:

From:

<FILESYSTEMS APPLICATION_NAME="feature-pm" ENTITY="FileSystems"
 VERSION="2.0.0.cr1" WORKSPACE_HOME="./WebContent/WEB-INF">

To:

<FILESYSTEMS APPLICATION_NAME="feature-pm" ENTITY="FileSystems"
 VERSION="2.0.0.cr1" WORKSPACE_HOME="./view/WEB-INF">

Because we had started our Seam project prior to JBoss Tools, we did not have the pre-designated "WebContent" directory and instead had our WEB-INF under a folder called /view.  Believe it or not, this totally fixed the issue.  I can now add the IceFaces TLD and get content assist *and* add XHTML and other files to the project.

However, I am worried that as we check out additional projects from SVN, we are going to have to go through this same routine each time.  Do you all have any thoughts on why this may have happened in the first place?

Thanks for your amazing support.  If you feel this is something that can be addressed via an update, please by all means do - it would certainly alleviate some confusion.

> Cannot add new files to Seam project
> ------------------------------------
>
>                 Key: JBIDE-1655
>                 URL: http://jira.jboss.com/jira/browse/JBIDE-1655
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 2.0.0.GA
>         Environment: Windows XP SP2
> JBoss Tools 2.0GA with Eclipse 3.3 Europa
>            Reporter: Chris Simons
>         Assigned To: Viacheslav Kabanovich
>             Fix For: 2.0.1
>
>         Attachments: jbosstools-diagnostics-20080128135249.zip, screenshot-1.jpg, screenshot-2.jpg, unable to create XHTML file.jpg
>
>
> Since upgrading to Seam 2.0 runtimes within JBoss Tools, I am only able to create new XHTML files by copying an existing file and renaming it.
> Please see screenshot.
> I can specify the folder by using "Browse" or typing it in myself; I then type in a file name.
> The messages is always: "Cannot create file in specified folder."

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbosstools-issues mailing list