Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [udig-devel] Udig Coding Guidelines

Frank you can update that page as well; as you figure things out. I would love to be able to follow what you are doing for another uDig based project. If you have any questions about the scripts in deploy let me know. They are mostly just copying "jre" folders into the correct location.

-- 
Jody Garnett

On Thursday, 10 March 2011 at 6:53 AM, Frank Gasdorf wrote:

Today I read the procedure steps and the last sentence I really like :
 "Restoring a headless build environment is a key step in producing a hudson automated build box for the project"

I'm currently working on an older version (1.2-M2) but I guess that doesn't make any sense. the sdk build was set up on windows  hudson/jenkins based on eclipse helios 3.6.1. So I can confirm that the headless build still works for the targets all and sdk. I never tried package or even application because we don't need it.

I switched my workspace to 1.5 and it fails only on a few source (mostly @Overwrite annotations) so I like to ask you for a vote, still stay ad 1.5 javacSource and javacTarget or be free to use Generics and some other cool things and switch to 1.6

in the 1.6 case I would update the headless build scripts ... and try to build an application.

Thanks, Frank


2011/3/7 Jody Garnett <jody.garnett@xxxxxxxxx>
>
> Hi Frank.
> The scripts/headless were something Jesse got working on his mac.
> I follow the procedure here to make a release:
> -http://udig.refractions.net/confluence/display/ADMIN/uDig+Export+Procedure
> I have made some scripts, in deploy folder, to perform some of the manual steps consistently. The one difficult one is renumbering net.refractions.libs.source so that the geotools source code correctly shows up.
>
> -- 
> Jody Garnett
>
> On Monday, 7 March 2011 at 9:14 PM, Frank Gasdorf wrote:
>
> the antScript.xml and the properties files I'm talking about can be found in extras/headless . Right there in the shared.properties you can find 
> javacSource=1.5
> and 
> javacTarget=1.5
> properties.
> How do you create a release? Build from workspace (export) or the headless mode?Is there any Continuous Integration build server around? On gitorious I've ssen a tycho version (http://gitorious.org/~rahul/udig/tycho-udig-platform). Does it work and is it still under development, last push were in October 2010?
> Frank
>
> 2011/3/7 Jody Garnett <jody.garnett@xxxxxxxxx>
>
> I would not be against upgrading to Java 6. It is a case of waiting until their is reason. Mac has now had a copy of Java 5 for a couple of years. I think we would just be prevented from releasing on the PPC.
>
> Frank can I ask what build scripts you are referring to? We have a couple of them ...
> -- 
> Jody Garnett
>
> On Monday, 7 March 2011 at 5:54 PM, Frank Gasdorf wrote:
>
> Hello,
> I tried to start udig out o my workspace and was wondering about the differences between bundles for compatibility level. If it's a goal to build against a JDK 1.5 version, like defined in the shared.properties build script the project levels for the udig-platform projects should be set to 1.5. But the workspace build fails because of several @Overwrite Annotations.
> And here are my questions:
> - Is it a rule to code against JDK 1.5 or is 1.6 allowed as well? If 1.6 is possible too, we should change the build-scripts ..
> - would you prefer setting files for the eclipse projects (org.eclipse.jdt.core.prefs : with the property org.eclipse.jdt.core.compiler.source=1.5) or just a hint in the coding guidelines? The first mentioned option would be used be the compiler and marks all source as invalid. 
> In my opinion it would be great to get udig compiled against 1.5 jdk's because some projects in other domains still on 1.5.
> Do you have any suggestions? In the result it would be easier to start coding for new contributors ...
> Cheers, Frank
>
> _______________________________________________
> User-friendly Desktop Internet GIS (uDig)
> http://udig.refractions.net
> http://lists.refractions.net/mailman/listinfo/udig-devel
>
>
>



Back to the top