flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Harui <aha...@adobe.com>
Subject Re: Can't build compiler.jx in Eclipse
Date Fri, 29 Mar 2013 22:24:10 GMT
OK, I added an 'all' target to the flex-falcon build.xml.  I wasn't sure
Gordon wanted to wait for the FalconJX stuff when running the default main
target.

Running 'all' should also set up Eclipse properly for FalconJX.  I was able
to use the .classpath files as-is after that.


On 3/29/13 1:58 PM, "Alex Harui" <aharui@adobe.com> wrote:

> OK, sounds like we have reached consensus.  I will try to get everything
> working again.
> 
> 
> On 3/29/13 1:51 PM, "Erik de Bruin" <erik@ixsoftware.nl> wrote:
> 
>> I think what's meant by "bad practice" is that most Eclipse projects
>> are set up with local system dependencies in them, like paths etc.
>> Having that type of information under version control would mean that
>> everyone would change the information in the project to their required
>> settings, end up with a changed file, which would then become part of
>> the next commit, overwriting everyone else's file, who then have to
>> change it... ad infinitum. I we set up the Falcon project files such
>> that no changes need to be made, I'm perfectly happy to have them be
>> under source control. Will make life much easier every time you have
>> to set up these project anew.
>> 
>> EdB
>> 
>> 
>> 
>> On Fri, Mar 29, 2013 at 8:15 PM, Gordon Smith <gosmith@adobe.com> wrote:
>>> I see no reason not to have Eclipse projects under source control. Why would
>>> this be bad practice?
>>> 
>>> - Gordon
>>> 
>>> 
>>> -----Original Message-----
>>> From: omuppi1@gmail.com [mailto:omuppi1@gmail.com] On Behalf Of Om
>>> Sent: Friday, March 29, 2013 11:28 AM
>>> To: dev@flex.apache.org
>>> Subject: Re: Can't build compiler.jx in Eclipse
>>> 
>>> A happy middle would be to affix a ".template" extension and check that in.
>>>  And the actual file extension would be added to gitignore.
>>> 
>>> For example, .project would be added to gitignore.  But, .project.template
>>> can be checked in.  Whoever wants to use it, can copy the file into .project
>>> locally and tweak it as needed.
>>> 
>>> Thanks,
>>> Om
>>> 
>>> 
>>> On Fri, Mar 29, 2013 at 11:17 AM, Michael Schmalle
>>> <apache@teotigraphix.com>wrote:
>>> 
>>>> I will add my 2 cents.
>>>> 
>>>> I think the people that say "keep the IDE files out" are used to maven
>>>> and other such tools that can setup your IDE for you.
>>>> 
>>>> The falcon framework has non of this and until it does, the Eclipse
>>>> project IDE files stay in the repo.
>>>> 
>>>> Mike
>>>> 
>>>> 
>>>> Quoting Alex Harui <aharui@adobe.com>:
>>>> 
>>>>  Gordon, Did you get it to work with the checked-in project files?
>>>>> 
>>>>> 
>>>>> On 3/29/13 10:14 AM, "Gordon Smith" <gosmith@adobe.com> wrote:
>>>>> 
>>>>>  The project files should be under source control and they should
>>>>> build
>>>>>> without
>>>>>> tweaking when you import them. The only exception is having to
>>>>>> configure things at the workspace level. For example, the compiler
>>>>>> project requires that ANT_JAR be set in the classpath of the
>>>>>> workspace.
>>>>>> 
>>>>>> - Gordon
>>>>>> 
>>>>>> -----Original Message-----
>>>>>> From: Frédéric THOMAS
>>>>>> [mailto:webdoublefx@hotmail.**com<webdoublefx@hotmail.com>
>>>>>> ]
>>>>>> Sent: Friday, March 29, 2013 6:44 AM
>>>>>> To: dev@flex.apache.org
>>>>>> Subject: Re: Can't build compiler.jx in Eclipse
>>>>>> 
>>>>>> I can't remember I tried it but logically, removing the .classpath
>>>>>> from the .gitignore, committing only the .classpath then re-adding
>>>>>> it in the .gitignore should work but still, I think it's better to
>>>>>> write a guideline than checkin IDE files :)
>>>>>> 
>>>>>> -Fred
>>>>>> 
>>>>>> -----Message d'origine-----
>>>>>> From: Alex Harui
>>>>>> Sent: Friday, March 29, 2013 2:30 PM
>>>>>> To: dev@flex.apache.org
>>>>>> Subject: Re: Can't build compiler.jx in Eclipse
>>>>>> 
>>>>>> Is there a way to have a file in git that is also in gitignore?
>>>>>> That way you get it when you clone, but when you modify it, it
>>>>>> doesn't get checked back in.
>>>>>> 
>>>>>> 
>>>>>> On 3/29/13 12:27 AM, "Cyrill Zadra" <cyrill.zadra@gmail.com>
wrote:
>>>>>> 
>>>>>>  Currently its quite easy to setup the eclipse falcon project.
>>>>>>> 
>>>>>>> Import falcon projects in eclipse, run ant script, sometimes
>>>>>>> refresh the projects and you are ready to go..
>>>>>>> 
>>>>>>> Wouldn't it get more complicated if you put classpath to gitignore?
>>>>>>> Then I always have to add the libraries by myself. Just my thoughts
>>>>>>> 
>>>>>>> Cyrill
>>>>>>> 
>>>>>>> 
>>>>>>> Sent from my iPhone
>>>>>>> 
>>>>>>> On 29.03.2013, at 17:28, Alex Harui <aharui@adobe.com>
wrote:
>>>>>>> 
>>>>>>>  The .classpath files in compiler.jx and compiler.jx/tests are
>>>>>>> showing
>>>>>>>> up as modified in git.  Should we put them in .gitignore?
 I
>>>>>>>> wouldn't mind having them in there as a starting point.
>>>>>>>> 
>>>>>>>> 
>>>>>>>> On 3/28/13 11:55 PM, "Erik de Bruin" <erik@ixsoftware.nl>
wrote:
>>>>>>>> 
>>>>>>>>  Normally, we don't. Some documentation might come in handy,
though.
>>>>>>>>> 
>>>>>>>>> EdB
>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> On Fri, Mar 29, 2013 at 7:25 AM, Alex Harui <aharui@adobe.com>
wrote:
>>>>>>>>> 
>>>>>>>>>> When I first imported the project it did not build
and I ended
>>>>>>>>>> up tweaking the project properties.  Do we want the
project
>>>>>>>>>> files in Git?
>>>>>>>>>> 
>>>>>>>>>> 
>>>>>>>>>> On 3/28/13 11:22 PM, "Erik de Bruin" <erik@ixsoftware.nl>
wrote:
>>>>>>>>>> 
>>>>>>>>>>  Or sometimes plain "Refresh" (F5) on the project
helps.
>>>>>>>>>>> 
>>>>>>>>>>> EdB
>>>>>>>>>>> 
>>>>>>>>>>> 
>>>>>>>>>>> 
>>>>>>>>>>> On Fri, Mar 29, 2013 at 4:55 AM, Cyrill Zadra
>>>>>>>>>>> <cyrill.zadra@gmail.com>
>>>>>>>>>>> wrote:
>>>>>>>>>>> 
>>>>>>>>>>>> No that should be enough.
>>>>>>>>>>>> 
>>>>>>>>>>>> You could also try 'ant super-clean main'.
>>>>>>>>>>>> Sometimes you need to reopen and rebuild
the eclipse project.
>>>>>>>>>>>> 
>>>>>>>>>>>> Cyrill
>>>>>>>>>>>> 
>>>>>>>>>>>> On Fri, Mar 29, 2013 at 2:19 PM, Gordon Smith
>>>>>>>>>>>> <gosmith@adobe.com>
>>>>>>>>>>>> wrote:
>>>>>>>>>>>> 
>>>>>>>>>>>> I ran 'ant clean main'. Do I need more targets?
>>>>>>>>>>>> 
>>>>>>>>>>>> - Gordon
>>>>>>>>>>>> 
>>>>>>>>>>>> -----Original Message-----
>>>>>>>>>>>> From: Cyrill Zadra [mailto:cyrill.zadra@gmail.com**]
>>>>>>>>>>>> Sent: Thursday, March 28, 2013 8:45 PM
>>>>>>>>>>>> To: dev@flex.apache.org
>>>>>>>>>>>> Subject: Re: Can't build compiler.jx in Eclipse
>>>>>>>>>>>> 
>>>>>>>>>>>> Hi Gordon
>>>>>>>>>>>> 
>>>>>>>>>>>> Did you run build.xml first? It should download
all dependant
>>>>>>>>>>>> libraries.
>>>>>>>>>>>> 
>>>>>>>>>>>> Cyrill
>>>>>>>>>>>> 
>>>>>>>>>>>> On Fri, Mar 29, 2013 at 2:12 PM, Gordon Smith
>>>>>>>>>>>> <gosmith@adobe.com>
>>>>>>>>>>>> wrote:
>>>>>>>>>>>> 
>>>>>>>>>>>> When I import the compiler.jx project into
Eclipse, I get
>>>>>>>>>>>> 
>>>>>>>>>>>> Project 'compiler.jx' is missing required
library:
>>>>>>>>>>>> 'lib/commons-io.jar'
>>>>>>>>>>>> Project 'compiler.jx' is missing required
library:
>>>>>>>>>>>> 'lib/google/closure-compiler/**compiler.jar'
>>>>>>>>>>>> 
>>>>>>>>>>>> There is no 'lib' directory in flex-falcon/compiler.jx.
What
>>>>>>>>>>>> am I doing wrong?
>>>>>>>>>>>> 
>>>>>>>>>>>> - Gordon
>>>>>>>>>>>> 
>>>>>>>>>>>> 
>>>>>>>>>> --
>>>>>>>>>> Alex Harui
>>>>>>>>>> Flex SDK Team
>>>>>>>>>> Adobe Systems, Inc.
>>>>>>>>>> http://blogs.adobe.com/aharui
>>>>>>>>>> 
>>>>>>>>> 
>>>>>>>> --
>>>>>>>> Alex Harui
>>>>>>>> Flex SDK Team
>>>>>>>> Adobe Systems, Inc.
>>>>>>>> http://blogs.adobe.com/aharui
>>>>>>>> 
>>>>>>>> 
>>>>> --
>>>>> Alex Harui
>>>>> Flex SDK Team
>>>>> Adobe Systems, Inc.
>>>>> http://blogs.adobe.com/aharui
>>>>> 
>>>>> 
>>>>> 
>>>> --
>>>> Michael Schmalle - Teoti Graphix, LLC
>>>> http://www.teotigraphix.com
>>>> http://blog.teotigraphix.com
>>>> 
>>>> 
>> 
>> 

-- 
Alex Harui
Flex SDK Team
Adobe Systems, Inc.
http://blogs.adobe.com/aharui


Mime
View raw message