Wanted to give an update on this for what I found.

It is definetly an issue related to the length of the command that is passed to 
Runtime.exec.

To experiment, I changed the path that my class are build from long path 

c:\eclipse\workspace\myproj\bin

to something very short:

c:\a

Worked great! Same number of classes being compiled.

So, I played further and tried to find the breaking point of the directory length, for 
my instance, and I found that while:

C:\abcdefghiklmnop\abcd\

works. this doesn't:

C:\abcdefghiklmnop\abcde\

The extra letter on every path of every class causes it to pass that magical threshold 
-- which after looking at the the lengths of the two strings that are generated, is 
somewhere around 2^15.

Any hope of getting a fix before the 1.0 release to the AopC ant task so the compiler 
will handle a directory passed in, and pass that directly to the standalone compiler? 
I would assume that I am not the only one who is going to have this issue.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3851959#3851959

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3851959


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to