Yeah, JDIC looks cool, but running JDIC looks to be a pain....
And I don't know if that will work on linux / mac machines..... VELO On Sat, Feb 14, 2009 at 9:35 AM, Bob <[email protected]> wrote: > > OK, rather embarrassingly, I found and fixed my original problem: > > For reasons I can't currently explain, the user on my build machine > has a User PATH defined, which is different from the System PATH, and > appears to override rather than supplement the System PATH, but only > when running as a service. The User PATH does not have %WINDIR% or > %WINDIR%\system32 on it, so understandably it can't find > rundll32.exe. > > I'm surprised at this behaviour, but I should have seen this earlier; > sorry If I've sent people off on wild-goose chases. > > That said, JDIC looks an interesting and more robust solution; there > are anecdotal reports of using it from Maven, but none I can find of > using it in a plugin. I'll see if I can find any more info. > > (http://buildanddeploy.com/node/14) > > Al the best, Bob > > > On Feb 12, 8:30 pm, Marvin Froeder <[email protected]> wrote: > > I found something that may help us.... > http://java.sun.com/developer/technicalArticles/J2SE/Desktop/jdic_assoc/ > > > > I just need to know if is possible to use jdic + maven.... > > > > VELO > > > > On Thu, Feb 12, 2009 at 4:28 PM, Marvin Froeder <[email protected]> > wrote: > > > java.awt.Desktop doesn't give me the process... so I can't kill > process if > > > something goes wrong. > > > > > On CLI, I can't because I'm invoking run32dll, once I start to used > > > flashplayer directly that will be possible. On that case you will need > to > > > have flashplayer on OS path or will need to declare a command for it. > > > > > I still looking for the silver bullet, but so far I had no lucky with > that. > > > > > VELO > > > > > On Thu, Feb 12, 2009 at 4:22 PM, Bob <[email protected]> wrote: > > > > >> I wondered about this - however, the standalone flashplayer (on > > >> windows certainly) is not delivered with an installer, it's just an > > >> executable that you can put anywhere on your filesystem - so you would > > >> still have to rely on the O/S and file associations to determine it's > > >> location. Won't this be more error-prone? > > >> I haven't looked into it, but presumably the java.awt.Desktop class > > >> does much the same as the plexus CommandLine class? Is it worth > > >> investigating further? > > >> Regards, > > >> Bob > > > --~--~---------~--~----~------------~-------~--~----~ 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?hl=en?hl=en http://blog.flex-mojos.info/ -~----------~----~----~----~------~----~------~--~---
