Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [udig-devel] uDig build & walkthrough for MacOs

From https://github.com/djSeverin/udig-platform/commit/53ae065a98959100f2f215f26ec733c7a2c65c32 
hdiutil eh? Can we do a nice folder background using that one?
In theory, yes. It will however take me a while to work out how.
I have also been pursuing your request to be able to add EULA to the DMG
package.
 
To follow on from the github messages (around DMG generation with background image).

1) Jesse has a sparse image he used for DMG generation here: http://udig.refractions.net/files/downloads/dmg-template/
2) I also have a video he provided showing how to do the create DMG from folder trick
3) A bit of research shows that making a .background.png (i.e. invisible in the finder) is a good way to hide an image and then you can set that image as your background for a folder; before doing the create DMG from folder thing

I wonder if any of that can be automated...


-- 
Jody Garnett

On Friday, 31 August 2012 at 2:52 PM, Severin (aka Cliff) wrote:

Or just plug the deploy directly into maven:
'


<artifactId>exec-maven-plugin</artifactId>
<groupId>org.codehaus.mojo</groupId>
<executions>
  <execution>
    <id>Pre-deployment packaging</id>
    <phase>install</phase>
    <goals>
      <goal>exec</goal>
    </goals>
    <configuration>
      <executable>${basedir}/deploy/all.sh</executable>
    </configuration>
  </execution>
<executions>


On 31 August 2012 14:47, Severin (aka Cliff) <djseverin@xxxxxxxxx> wrote:
The deploy script is rather nice.

It would/will be very easy for me to build a real DMG file rather than a zip.

:-)



On 31 August 2012 14:44, Jody Garnett <jody.garnett@xxxxxxxxx> wrote:
just submit a pull request; we can save jira for actual application problems :-)

And yes I am only a noob at writing scripts

-- 
Jody Garnett

On Friday, 31 August 2012 at 2:43 PM, Severin (aka Cliff) wrote:

Found a bug in the deploy script. It doesn't account for spaces in the file system path.

I've written a fix that I'm testing. Will raise a Jira, fix and submit a push request.




On 31 August 2012 13:39, Jody Garnett <jody.garnett@xxxxxxxxx> wrote:
The .options file is "optional"; it is generally used when debugging a users install of uDig. As a developer you can email out a ".options" file to turn on different tracing options; and then ask for a log to be sent back.

We found it easier to make a big .options file of everything; so we can ask people to just turn to "true" the bit they are interested in debugging.

The workflow is described in our users guide:

-- 
Jody Garnett

at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Caused by: org.apache.maven.plugin.MojoExecutionException: OSGi version 1.3.3.qualifier in META-INF/MANIFEST.MF does not match Maven version 1.3.2.qualifier in pom.xml at org.eclipse.tycho.buildversion.ValidateVersionMojo.fail(ValidateVersionMojo.java:88) at org.eclipse.tycho.buildversion.ValidateVersionMojo.validateReleaseVersion(ValidateVersionMojo.java:52) at org.eclipse.tycho.buildversion.ValidateVersionMojo.execute(ValidateVersionMojo.java:46) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209) ... 27 more channel stopped Finished: FAILURE Thanks, Naz Chan ________________________________ The contents of this email are confidential and may be subject to legal or professional privilege and copyright. No representation is made that this email is free of viruses or other defects. If you have received this communication in error, you may not copy or distribute any part of it or otherwise disclose its contents to anyone. Please advise the sender of your incorrect receipt of this correspondence. --_000_315D072276026D4C83802CD55151343A43063EB67Amail_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable
Hey Guys,
 
Just checked uDig build, had the ff failure logs:
 
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 13:32.050s
[INFO] Finished at: Fri Sep 07 16:04:40 EST 2012
[INFO] Final Memory: 385M/682M
[INFO] ------------------------------------------------------------------------
mavenExecutionResult exceptions not empty
message : Failed to execute goal org.eclipse.tycho:tycho-packaging-plugin:0.15.0:validate-version (default-validate-version) on project net.refractions.udig.libs: OSGi version 1.3.3.qualifier in META-INF/MANIFEST.MF does not match Maven version 1.3.2.qualifier in pom.xml
cause : OSGi version 1.3.3.qualifier in META-INF/MANIFEST.MF does not match Maven version 1.3.2.qualifier in pom.xml
Stack trace :
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.eclipse.tycho:tycho-packaging-plugin:0.15.0:validate-version (default-validate-version) on project net.refractions.udig.libs: OSGi version 1.3.3.qualifier in META-INF/MANIFEST.MF does not match Maven version 1.3.2.qualifier in pom.xml
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
        at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
        at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
        at org.jvnet.hudson.maven3.launcher.Maven3Launcher.main(Maven3Launcher.java:79)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:329)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:239)
        at org.jvnet.hudson.maven3.agent.Maven3Main.launch(Maven3Main.java:158)
        at hudson.maven.Maven3Builder.call(Maven3Builder.java:104)
        at hudson.maven.Maven3Builder.call(Maven3Builder.java:70)
        at hudson.remoting.UserRequest.perform(UserRequest.java:118)
        at hudson.remoting.UserRequest.perform(UserRequest.java:48)
        at hudson.remoting.Request$2.run(Request.java:287)
        at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:662)
Caused by: org.apache.maven.plugin.MojoExecutionException: OSGi version 1.3.3.qualifier in META-INF/MANIFEST.MF does not match Maven version 1.3.2.qualifier in pom.xml
        at org.eclipse.tycho.buildversion.ValidateVersionMojo.fail(ValidateVersionMojo.java:88)
        at org.eclipse.tycho.buildversion.ValidateVersionMojo.validateReleaseVersion(ValidateVersionMojo.java:52)
        at org.eclipse.tycho.buildversion.ValidateVersionMojo.execute(ValidateVersionMojo.java:46)
        at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
        ... 27 more
channel stopped
Finished: FAILURE
 
 
Thanks,
Naz Chan
 

  ________________________________  
The contents of this email are confidential and may be subject to legal or professional privilege and copyright. No representation is made that this email is free of viruses or other defects. If you have received this communication in error, you may not copy or distribute any part of it or otherwise disclose its contents to anyone. Please advise the sender of your incorrect receipt of this correspondence.
--_000_315D072276026D4C83802CD55151343A43063EB67Amail_--

Back to the top