Skip to content

Instantly share code, notes, and snippets.

@peteroyle
peteroyle / boxgrinder.log
Created June 28, 2011 00:53
Boxgrinder Trace Building CentOS 5 in Micro AMI, LIBGUESTFS_MEMSIZE=200
D, [2011-06-27T20:36:31.186312 #12764] DEBUG -- : Launching new build...
T, [2011-06-27T20:36:31.226962 #12764] TRACE -- : Used configuration: --- !map:BoxGrinder::Config
:file: /root/.boxgrinder/config
:force: false
:platform_config: {}
:log_level: :info
:delivery_config: {}
:additional_plugins: []
@peteroyle
peteroyle / boxgrinder.log
Created June 28, 2011 00:35
Boxgrinder Trace Building CentOS 5 in Micro AMI, LIBGUESTFS_MEMSIZE=300
D, [2011-06-27T20:22:18.002567 #11811] DEBUG -- : Launching new build...
T, [2011-06-27T20:22:18.041218 #11811] TRACE -- : Used configuration: --- !map:BoxGrinder::Config
:file: /root/.boxgrinder/config
:force: false
:platform_config: {}
:log_level: :info
:delivery_config: {}
:additional_plugins: []
@peteroyle
peteroyle / Boxgrinder Log
Created June 27, 2011 23:26
Centos 5 JEOS Config
# Logfile created on Mon Jun 27 01:15:29 -0400 2011 by logger.rb/22285
D, [2011-06-27T01:15:29.938660 #891] DEBUG -- : Launching new BoxGrinder build...
T, [2011-06-27T01:15:29.940555 #891] TRACE -- : Used configuration: --- !map:BoxGrinder::Config
:file: /root/.boxgrinder/config
:force: false
:platform_config: {}
:log_level: :info
:delivery_config: {}
@peteroyle
peteroyle / gist:1048439
Created June 27, 2011 07:19
Boxgrinder Trace Building Fedora 15 in AMI
[root@ip-10-128-190-144 boxgrinder]# boxgrinder-build fedora_15_jeos.appl
/usr/lib/ruby/gems/1.8/gems/aws-2.5.5/lib/ses/../awsbase/utils.rb:105: warning: already initialized constant HEX
/usr/lib/ruby/gems/1.8/gems/aws-2.5.5/lib/ses/../awsbase/utils.rb:107: warning: already initialized constant TO_REMEMBER
/usr/lib/ruby/gems/1.8/gems/aws-2.5.5/lib/ses/../awsbase/utils.rb:108: warning: already initialized constant ASCII
/usr/lib/ruby/gems/1.8/gems/aws-2.5.5/lib/ses/../awsbase/errors.rb:128: warning: already initialized constant DEFAULT_CLOSE_ON_4XX_PROBABILITY
/usr/lib/ruby/gems/1.8/gems/aws-2.5.5/lib/ses/../awsbase/parsers.rb:47: warning: already initialized constant DEFAULT_XML_LIBRARY
/usr/lib/ruby/gems/1.8/gems/aws-2.5.5/lib/ses/../awsbase/awsbase.rb:66: warning: already initialized constant AMAZON_PROBLEMS
/usr/lib/ruby/gems/1.8/gems/aws-2.5.5/lib/ses/../awsbase/awsbase.rb:86: warning: already initialized constant DEFAULT_SIGNATURE_VERSION
I, [2011-06-27T02:57:38.252638 #1204] INFO -- : Validating appli
@peteroyle
peteroyle / gist:1048438
Created June 27, 2011 07:18
Fedora 15 Appliance Config
name: fedora_15_jeos
summary: Just Enough Operating System based on Fedora
appliances:
- common
os:
name: fedora
version: 15
password: password
hardware:
cpus: 2
@peteroyle
peteroyle / gist:990065
Created May 25, 2011 00:36
Unsatisfied Dependency Injecting Properties
------------- Standard Output ---------------
test.jar:
/cron.properties
/META-INF/
/META-INF/beans.xml
/org/
/org/jboss/
/org/jboss/seam/
/org/jboss/seam/cron/
/org/jboss/seam/cron/spi/
@peteroyle
peteroyle / gist:978086
Created May 18, 2011 06:35
proposed module struture
parent
- combined
- dist
- docs
- api
- impl (depends on api)
- spi (depends on impl)
- providers
- scheduling
- quartz (depends on spi)
@peteroyle
peteroyle / gist:975911
Created May 17, 2011 03:53
Injecting Precompiled Reports using @resource
@Produces @JasperReports @Resource
public Report precompileJasperReport(InjectionPoint ip) {
JasperSeamReportLoader loader = new JasperSeamReportLoader();
Report report = null;
for (Annotation ant : ip.getQualifiers().iterator()) {
if (ant is a @Resource) {
Resource r = (Resource)ant;
InputStream is = getClassloader().getResourceAsStream(r.value());
report = loader.compile(is);
}
@peteroyle
peteroyle / gist:969969
Created May 13, 2011 04:28
SeamReports Example Usage
@Qualifier
public @interface Selected {
}
@RequestScoped
public class ReportOptions {
public String reportName;
public String format;
@peteroyle
peteroyle / gist:967545
Created May 11, 2011 22:39
buiding forge from git
[INFO] 1error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Forge - Shell API ................................. FAILURE [4.258s]
[INFO] Forge - Maven Integration APIs .................... SKIPPED
[INFO] Forge - Git Integration ........................... SKIPPED
[INFO] Forge - Parser/Java ............................... SKIPPED
[INFO] Forge - Maven Project Model ....................... SKIPPED