Well you can't deploy a war in an applications classpath and expect
Java to actually be able to correctly work with it.

Just as an example ... a "com" directory in the root of a jar is
treated as package "com" ... com/sonatype is treated as package
"com.sonatype" and so on.
Now if you deploy a war to a classpath, then your classes will be in a
directory "WEB-INF/classes/com/sonatype/HelloWorld.class" and so java
would expect a class HelloWorld in a package
"WEB-INF.classes.com.sonatype" which is simply not correct. If you are
speculating on automatically adding all the libs in the war to the
classpath ... this isn't possible either.

Hope I could explain the main problem.

Chris




2011/11/24 Mino Togna <[email protected]>:
> It seems only with jar dependencies it works.
> Could you kindly explain this since in the documentation i cant find
> anything.
> Thanks in advance
>
> -Mino
>
> On Nov 23, 5:08 pm, Mino Togna <[email protected]> wrote:
>> Hello All,
>>
>> I have a quick question about the code generator:
>> can I generate action script from java classes that are in a
>> dependency with type 'war'?
>>
>> Thanks in advance for your answer.
>> -Mino
>
> --
> You received this message because you are subscribed to the Google
> Groups "Flex Mojos" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/flex-mojos
>
> http://flexmojos.sonatype.org/
>

-- 
You received this message because you are subscribed to the Google
Groups "Flex Mojos" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/flex-mojos

http://flexmojos.sonatype.org/

Reply via email to