-
1. Re: SEAM 2.1 GA : seam-gen not working
vimalkansal Oct 23, 2008 5:19 AM (in response to vimalkansal)Also, I would like to mention that with Seam 2.1.0. CR1, it used to work
-
2. Re: SEAM 2.1 GA : seam-gen not working
vimalkansal Oct 23, 2008 5:32 AM (in response to vimalkansal)I would like to qualify my earlier issue : if I execute seam setup from the seam directory then it works, otherwise it does not. Since I have already setup my SEAM_HOME and included this on my PATH, shouldn't it work from any directory? -
3. Re: SEAM 2.1 GA : seam-gen not working
vimalkansal Oct 23, 2008 5:37 AM (in response to vimalkansal)Ok, I figured it out. I was trying to execute seam setup from a directory which has spaces in it (i.e C:\Documents And Setting) and that is where the seam-gen gets confused.. -
4. Re: SEAM 2.1 GA : seam-gen not working
jbalunas.jbalunas.jboss.org Oct 23, 2008 3:25 PM (in response to vimalkansal)Please enter a jira for this. This should at least be documented, if not fixed.
Thanks,
Jay -
5. Re: SEAM 2.1 GA : seam-gen not working
luxspes Oct 23, 2008 4:11 PM (in response to vimalkansal)A nice workaround I use is the Link Shell Extension with it you can create symlinks (like those in Unix/Linux) in Windows. I always create one named
Users
pointing atDocuments and Settings
and use that path for my coding (this whitespace bug is very common in a lot of different programs, specially those with unix origins).One of the advantages of migrating to Windows Vista (yes I know, it is surprising) is that
Documents and Settings
is gone, and now everything is available inUsers
. -
6. Re: SEAM 2.1 GA : seam-gen not working
dan.j.allen Oct 23, 2008 4:45 PM (in response to vimalkansal)It's generally accepted that you shouldn't use spaces in path names when using Java-based tools (some might even say in general). That said, I think it is worth supporting and therefore I plan to fix seam-gen. Let's just roll it up into the following issue: JBSEAM-3585
-
7. Re: SEAM 2.1 GA : seam-gen not working
dan.j.allen Oct 23, 2008 8:58 PM (in response to vimalkansal)I just committed a fix for this to the trunk. It looks like we are going to release an SP to resolve a couple of showstopper seam-gen issues, this one included.
-
8. Re: SEAM 2.1 GA : seam-gen not working
dan.j.allen Oct 24, 2008 5:43 AM (in response to vimalkansal) -
9. Re: SEAM 2.1 GA : seam-gen not working
vimalkansal Oct 24, 2008 7:51 AM (in response to vimalkansal)I did that, I am getting the message
The SEAM_HOME environment variable should point to a Seam Distribution. Whereas my SEAM_HOME variable is indeed set. Here is what I see on my shell :
==============================================================================
C:\Documents and Settings\Vimal>seam help
The SEAM_HOME environment variable should point to a Seam distribution
C:\Documents and Settings\Vimal>echo %SEAM_HOME%
C:\vkk\jboss-seam-2.1.0.GA
=============================================================================== -
10. Re: SEAM 2.1 GA : seam-gen not working
vimalkansal Oct 24, 2008 7:54 AM (in response to vimalkansal)I found a typo in seam.bat. On line 18 :
It reads
if not exist "%SEAM_HOME\seam.bat" (goto noseam)
It should be
if not exist "%SEAM_HOME%\seam.bat" (goto noseam)
Thanks
Vimal -
11. Re: SEAM 2.1 GA : seam-gen not working
asriel Sep 28, 2009 5:03 PM (in response to vimalkansal)Hi,
even on MacOSX Leopard directory paths with spaces are not properly recognized and managed. For example if you use /Users/Asriel/Desktop/Project\ Test/ as your project directory, running seam create-project will generate two folders /Project/ Test. (it's not a typo, there is a leading space on the Test subfolder).