Oh... I see. Thanks for your reply Christian.  In that case I'll 
just store my locale files in the same directory as the source files.
Thanks for your time.

Ivan.

--- In [email protected], Christian Gruber <[EMAIL PROTECTED]> 
wrote:
>
> Oh, I see.  Yes. Unfortunately, first of all, your two source 
folders  
> are nested, which will possibly be a problem in any case.  
However,  
> at this point there is no way to quite do what you want.
> 
> What I would suggest would be to break your code into two sub- 
> projects.  One in which locale information is kept, and make that 
a  
> "swc" project, and then depend the other .swf project in the 
former.  
> So your src/main/locale would go in the other project entirely.
> 
> If you can't do that, then I'm not sure what to say.  There is 
only  
> once source folder, and right now I"m hacking it up pretty badly  
> because I wrote a thin wrapper to compc/mxmlc, rather than a full  
> plexus-compiler component extention the way maven-compile-plugin  
> works.  When the open-source version of the flex compiler is 
released  
> it may be more amenable to such an approach, in which case youl'd  
> have more possibilities.
> 
> In short, right now there is no way to precisely accomplish what  
> you're doing, so you'll regrettably have to find a workaround.
> 
> Christian.
> 
> On May 27, 2007, at 5:50 AM, ivansebastiansurya wrote:
> 
> > Hi Christian,
> >
> > Thanks for your reply.
> > What I want to do is adding a folder to the class path when my 
flex
> > code is compiled with maven using israfil plugin.
> >
> > I can specify one folder in the class path using the following in
> > the pom file (for maven):
> >
> >  <properties>
> >                 <flex.compiler.source>src</flex.compiler.source>
> >  <properties>
> >
> > What I want to do is I want to add more than one folder in the 
class
> > path, i.e. "src/main/flex" and "src/main/flex/locale" folder.
> >
> > I tried to add two tags:
> >
> > <flex.compiler.source>src/main/flex</flex.compiler.source>
> > <flex.compiler.source>src/main/flex/locale</flex.compiler.source>
> >
> > It doesn't work.  I also tried separating the two paths using ";"
> > and ":" but it doesn't work.
> >
> > If anyone can help me that would be greatly appreciated.
> >
> > Thanks in advance.
> >
> > Ivan.
> >
> >
> > --- In [email protected], Christian Gruber <cgruber@>
> > wrote:
> >>
> >> Are you talking about altering the classpath that the plugin
> > creates
> >> for invoking the compiler?  If so, there is no such capability.
> > You
> >> might be able to hack it up locally, but I'm only partially 
clear
> > on
> >> what you're trying to accomplish.  The key question is:
> >>
> >> Is this something you want to include into .swc/.swfs? or is it
> >> something you want to configure the compiler itself with.
> >>
> >> Christian.
> >>
> >> On May 24, 2007, at 7:42 PM, ivansebastiansurya wrote:
> >>
> >>> Hi again,
> >>>
> >>> Thanks for your reply.  But what I was looking for when I want 
to
> >>> include properties file for internationalisation.
> >>> I will have my *.properties language in a folder 
called "locale"
> > and
> >>> I want to add that "locale" folder in my class path.
> >>>
> >>> Does anyone know how to alter the pom file to make that happen?
> > At
> >>> the moment I have to copy all of the properties files to the 
top
> >>> level folder to be recognized, which is not really neat.
> >>>
> >>> Thanks.
> >>>
> >>> Ivan.
> >>>
> >>> --- In [email protected], "Sterling, Brian"
> >>> <brian_sterling@> wrote:
> >>>>
> >>>> Here is my understanding:
> >>>>
> >>>> Each library you depend on should be in your Maven repository.
> >>> Then you just add a dependency section to your pom.xml as
> > specified
> >>> in the
> >>>>
> >>>>   "Setting up SWC dependencies in a SWC or SWF project"
> >>>>
> >>>> section of the usage guide at
> >>>>
> >>>>   http://www.israfil.net/projects/mojo/maven-flex2-
> > plugin/usage.html
> >>>>
> >>>> -Brian
> >>>> ________________________________________
> >>>> From: [email protected]
> >>> [mailto:[EMAIL PROTECTED] On Behalf Of
> > ivansebastiansurya
> >>>> Sent: Wednesday, May 23, 2007 4:06 PM
> >>>> To: [email protected]
> >>>> Subject: [flexcoders] Adding a class path to israfil maven
> > plugin
> >>>>
> >>>> Hi everyone,
> >>>>
> >>>> Does anyone know how to add a classpath in the pom file for
> > maven 2
> >>>> israfil plugin?
> >>>>
> >>>> In Flex builder, this is equivalent to right clicking the
> > object,
> >>> then
> >>>> select "Properties" and "Flex Build Path".
> >>>>
> >>>> Thanks,
> >>>>
> >>>> Ivan.
> >>>>
> >>>
> >>>
> >>
> >> christian gruber + cgruber@ + mob 410.900.0796 + mob2
> >> 416.998.6023
> >> process coach and architect + ISRÁFÍL CONSULTING SERVICES
> >>
> >
> >
> 
> 
> 
> christian gruber + [EMAIL PROTECTED] + mob 410.900.0796 + mob2  
> 416.998.6023
> process coach and architect + ISRÁFÍL CONSULTING SERVICES
>


Reply via email to