repo_name stringlengths 7 104 | file_path stringlengths 13 198 | context stringlengths 67 7.15k | import_statement stringlengths 16 4.43k | code stringlengths 40 6.98k | prompt stringlengths 227 8.27k | next_line stringlengths 8 795 |
|---|---|---|---|---|---|---|
openengsb-attic/labs-paxexam-karaf | options/src/main/java/org/openengsb/labs/paxexam/karaf/options/configs/CustomProperties.java | // Path: options/src/main/java/org/openengsb/labs/paxexam/karaf/options/ConfigurationPointer.java
// public class ConfigurationPointer {
//
// private String configurationFilePath;
// private String key;
//
// public ConfigurationPointer(String configurationFilePath, String key) {
// this.configur... | import org.openengsb.labs.paxexam.karaf.options.ConfigurationPointer; | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | // Path: options/src/main/java/org/openengsb/labs/paxexam/karaf/options/ConfigurationPointer.java
// public class ConfigurationPointer {
//
// private String configurationFilePath;
// private String key;
//
// public ConfigurationPointer(String configurationFilePath, String key) {
// this.configur... | static final ConfigurationPointer KARAF_FRAMEWORK = new CustomPropertiesPointer("karaf.framework"); |
openengsb-attic/labs-paxexam-karaf | regression/src/test/java/org/openengsb/labs/paxexam/karaf/regression/FeaturesScannerProvisionTest.java | // Path: options/src/main/java/org/openengsb/labs/paxexam/karaf/options/KarafDistributionOption.java
// public static KarafDistributionBaseConfigurationOption karafDistributionConfiguration(String frameworkURL,
// String name, String karafVersion) {
// return new KarafDistributionConfigurationOption(framewo... | import org.ops4j.pax.exam.junit.JUnit4TestRunner;
import org.ops4j.pax.exam.spi.reactors.AllConfinedStagedReactorFactory;
import static junit.framework.Assert.assertTrue;
import static org.openengsb.labs.paxexam.karaf.options.KarafDistributionOption.karafDistributionConfiguration;
import static org.ops4j.pax.exam.CoreO... | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | // Path: options/src/main/java/org/openengsb/labs/paxexam/karaf/options/KarafDistributionOption.java
// public static KarafDistributionBaseConfigurationOption karafDistributionConfiguration(String frameworkURL,
// String name, String karafVersion) {
// return new KarafDistributionConfigurationOption(framewo... | karafDistributionConfiguration("mvn:org.apache.karaf/apache-karaf/2.2.5/zip", "karaf", "2.2.5"), |
openengsb-attic/labs-paxexam-karaf | regression/src/test/java/org/openengsb/labs/paxexam/karaf/regression/MixFeatureAndDeployFolderFalseTest.java | // Path: options/src/main/java/org/openengsb/labs/paxexam/karaf/options/KarafDistributionOption.java
// public static Option editConfigurationFilePut(String configurationFilePath, String key, String value) {
// return new KarafDistributionConfigurationFilePutOption(configurationFilePath, key, value);
// }
//
// Pa... | import org.ops4j.pax.exam.Option;
import org.ops4j.pax.exam.junit.Configuration;
import org.ops4j.pax.exam.junit.ExamReactorStrategy;
import org.ops4j.pax.exam.junit.JUnit4TestRunner;
import org.ops4j.pax.exam.spi.reactors.AllConfinedStagedReactorFactory;
import static junit.framework.Assert.assertFalse;
import static ... | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | // Path: options/src/main/java/org/openengsb/labs/paxexam/karaf/options/KarafDistributionOption.java
// public static Option editConfigurationFilePut(String configurationFilePath, String key, String value) {
// return new KarafDistributionConfigurationFilePutOption(configurationFilePath, key, value);
// }
//
// Pa... | karafDistributionConfiguration() |
openengsb-attic/labs-paxexam-karaf | regression/src/test/java/org/openengsb/labs/paxexam/karaf/regression/MixFeatureAndDeployFolderFalseTest.java | // Path: options/src/main/java/org/openengsb/labs/paxexam/karaf/options/KarafDistributionOption.java
// public static Option editConfigurationFilePut(String configurationFilePath, String key, String value) {
// return new KarafDistributionConfigurationFilePutOption(configurationFilePath, key, value);
// }
//
// Pa... | import org.ops4j.pax.exam.Option;
import org.ops4j.pax.exam.junit.Configuration;
import org.ops4j.pax.exam.junit.ExamReactorStrategy;
import org.ops4j.pax.exam.junit.JUnit4TestRunner;
import org.ops4j.pax.exam.spi.reactors.AllConfinedStagedReactorFactory;
import static junit.framework.Assert.assertFalse;
import static ... | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | // Path: options/src/main/java/org/openengsb/labs/paxexam/karaf/options/KarafDistributionOption.java
// public static Option editConfigurationFilePut(String configurationFilePath, String key, String value) {
// return new KarafDistributionConfigurationFilePutOption(configurationFilePath, key, value);
// }
//
// Pa... | editConfigurationFilePut( |
openengsb-attic/labs-paxexam-karaf | regression/src/test/java/org/openengsb/labs/paxexam/karaf/regression/MixFeatureAndDeployFolderFalseTest.java | // Path: options/src/main/java/org/openengsb/labs/paxexam/karaf/options/KarafDistributionOption.java
// public static Option editConfigurationFilePut(String configurationFilePath, String key, String value) {
// return new KarafDistributionConfigurationFilePutOption(configurationFilePath, key, value);
// }
//
// Pa... | import org.ops4j.pax.exam.Option;
import org.ops4j.pax.exam.junit.Configuration;
import org.ops4j.pax.exam.junit.ExamReactorStrategy;
import org.ops4j.pax.exam.junit.JUnit4TestRunner;
import org.ops4j.pax.exam.spi.reactors.AllConfinedStagedReactorFactory;
import static junit.framework.Assert.assertFalse;
import static ... | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | // Path: options/src/main/java/org/openengsb/labs/paxexam/karaf/options/KarafDistributionOption.java
// public static Option editConfigurationFilePut(String configurationFilePath, String key, String value) {
// return new KarafDistributionConfigurationFilePutOption(configurationFilePath, key, value);
// }
//
// Pa... | FeaturesCfg.BOOT, |
openengsb-attic/labs-paxexam-karaf | regression/src/test/java/org/openengsb/labs/paxexam/karaf/regression/BaseOpenEngSBTest.java | // Path: options/src/main/java/org/openengsb/labs/paxexam/karaf/options/KarafDistributionOption.java
// public static KarafDistributionBaseConfigurationOption karafDistributionConfiguration(String frameworkURL,
// String name, String karafVersion) {
// return new KarafDistributionConfigurationOption(framewo... | import static junit.framework.Assert.assertTrue;
import static org.openengsb.labs.paxexam.karaf.options.KarafDistributionOption.karafDistributionConfiguration;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.ops4j.pax.exam.Option;
import org.ops4j.pax.exam.junit.Configuration;
import org.ops4j.pax.ex... | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | // Path: options/src/main/java/org/openengsb/labs/paxexam/karaf/options/KarafDistributionOption.java
// public static KarafDistributionBaseConfigurationOption karafDistributionConfiguration(String frameworkURL,
// String name, String karafVersion) {
// return new KarafDistributionConfigurationOption(framewo... | return new Option[]{ karafDistributionConfiguration( |
openengsb-attic/labs-paxexam-karaf | regression/src/test/java/org/openengsb/labs/paxexam/karaf/regression/VersionAsInProjectKarafTest.java | // Path: options/src/main/java/org/openengsb/labs/paxexam/karaf/options/KarafDistributionOption.java
// public static KarafDistributionBaseConfigurationOption karafDistributionConfiguration(String frameworkURL,
// String name, String karafVersion) {
// return new KarafDistributionConfigurationOption(framewo... | import static junit.framework.Assert.assertTrue;
import static org.openengsb.labs.paxexam.karaf.options.KarafDistributionOption.karafDistributionConfiguration;
import static org.ops4j.pax.exam.CoreOptions.maven;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.ops4j.pax.exam.Option;
import org.ops4j.p... | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | // Path: options/src/main/java/org/openengsb/labs/paxexam/karaf/options/KarafDistributionOption.java
// public static KarafDistributionBaseConfigurationOption karafDistributionConfiguration(String frameworkURL,
// String name, String karafVersion) {
// return new KarafDistributionConfigurationOption(framewo... | return new Option[]{ karafDistributionConfiguration().frameworkUrl( |
openengsb-attic/labs-paxexam-karaf | options/src/main/java/org/openengsb/labs/paxexam/karaf/options/configs/SystemProperties.java | // Path: options/src/main/java/org/openengsb/labs/paxexam/karaf/options/ConfigurationPointer.java
// public class ConfigurationPointer {
//
// private String configurationFilePath;
// private String key;
//
// public ConfigurationPointer(String configurationFilePath, String key) {
// this.configur... | import org.openengsb.labs.paxexam.karaf.options.ConfigurationPointer; | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | // Path: options/src/main/java/org/openengsb/labs/paxexam/karaf/options/ConfigurationPointer.java
// public class ConfigurationPointer {
//
// private String configurationFilePath;
// private String key;
//
// public ConfigurationPointer(String configurationFilePath, String key) {
// this.configur... | static final ConfigurationPointer KARAF_NAME = new CustomPropertiesPointer("karaf.name"); |
openengsb-attic/labs-paxexam-karaf | regression/src/test/java/org/openengsb/labs/paxexam/karaf/regression/BaseKarafEquinoxFrameworkTest.java | // Path: options/src/main/java/org/openengsb/labs/paxexam/karaf/options/KarafDistributionOption.java
// public static Option editConfigurationFilePut(String configurationFilePath, String key, String value) {
// return new KarafDistributionConfigurationFilePutOption(configurationFilePath, key, value);
// }
//
// Pa... | import static junit.framework.Assert.assertTrue;
import static org.openengsb.labs.paxexam.karaf.options.KarafDistributionOption.editConfigurationFilePut;
import static org.openengsb.labs.paxexam.karaf.options.KarafDistributionOption.karafDistributionConfiguration;
import org.junit.Test;
import org.junit.runner.RunWith;... | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | // Path: options/src/main/java/org/openengsb/labs/paxexam/karaf/options/KarafDistributionOption.java
// public static Option editConfigurationFilePut(String configurationFilePath, String key, String value) {
// return new KarafDistributionConfigurationFilePutOption(configurationFilePath, key, value);
// }
//
// Pa... | return new Option[]{ karafDistributionConfiguration("mvn:org.apache.karaf/apache-karaf/2.2.5/zip", "karaf", |
openengsb-attic/labs-paxexam-karaf | regression/src/test/java/org/openengsb/labs/paxexam/karaf/regression/BaseKarafEquinoxFrameworkTest.java | // Path: options/src/main/java/org/openengsb/labs/paxexam/karaf/options/KarafDistributionOption.java
// public static Option editConfigurationFilePut(String configurationFilePath, String key, String value) {
// return new KarafDistributionConfigurationFilePutOption(configurationFilePath, key, value);
// }
//
// Pa... | import static junit.framework.Assert.assertTrue;
import static org.openengsb.labs.paxexam.karaf.options.KarafDistributionOption.editConfigurationFilePut;
import static org.openengsb.labs.paxexam.karaf.options.KarafDistributionOption.karafDistributionConfiguration;
import org.junit.Test;
import org.junit.runner.RunWith;... | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | // Path: options/src/main/java/org/openengsb/labs/paxexam/karaf/options/KarafDistributionOption.java
// public static Option editConfigurationFilePut(String configurationFilePath, String key, String value) {
// return new KarafDistributionConfigurationFilePutOption(configurationFilePath, key, value);
// }
//
// Pa... | "2.2.5"), editConfigurationFilePut(CustomProperties.KARAF_FRAMEWORK, "equinox") }; |
openengsb-attic/labs-paxexam-karaf | regression/src/test/java/org/openengsb/labs/paxexam/karaf/regression/BaseKarafEquinoxFrameworkTest.java | // Path: options/src/main/java/org/openengsb/labs/paxexam/karaf/options/KarafDistributionOption.java
// public static Option editConfigurationFilePut(String configurationFilePath, String key, String value) {
// return new KarafDistributionConfigurationFilePutOption(configurationFilePath, key, value);
// }
//
// Pa... | import static junit.framework.Assert.assertTrue;
import static org.openengsb.labs.paxexam.karaf.options.KarafDistributionOption.editConfigurationFilePut;
import static org.openengsb.labs.paxexam.karaf.options.KarafDistributionOption.karafDistributionConfiguration;
import org.junit.Test;
import org.junit.runner.RunWith;... | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | // Path: options/src/main/java/org/openengsb/labs/paxexam/karaf/options/KarafDistributionOption.java
// public static Option editConfigurationFilePut(String configurationFilePath, String key, String value) {
// return new KarafDistributionConfigurationFilePutOption(configurationFilePath, key, value);
// }
//
// Pa... | "2.2.5"), editConfigurationFilePut(CustomProperties.KARAF_FRAMEWORK, "equinox") }; |
openengsb-attic/labs-paxexam-karaf | regression/src/test/java/org/openengsb/labs/paxexam/karaf/regression/BaseKarafDefaultFrameworkKeepRuntimeFolderTest.java | // Path: options/src/main/java/org/openengsb/labs/paxexam/karaf/options/KarafDistributionOption.java
// public static KarafDistributionBaseConfigurationOption karafDistributionConfiguration(String frameworkURL,
// String name, String karafVersion) {
// return new KarafDistributionConfigurationOption(framewo... | import static junit.framework.Assert.assertTrue;
import static org.openengsb.labs.paxexam.karaf.options.KarafDistributionOption.karafDistributionConfiguration;
import java.io.File;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.ops4j.pax.exam.Option;
import org.ops4j.pax.exam.junit.Configuration;
im... | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | // Path: options/src/main/java/org/openengsb/labs/paxexam/karaf/options/KarafDistributionOption.java
// public static KarafDistributionBaseConfigurationOption karafDistributionConfiguration(String frameworkURL,
// String name, String karafVersion) {
// return new KarafDistributionConfigurationOption(framewo... | return new Option[]{ karafDistributionConfiguration("mvn:org.apache.karaf/apache-karaf/2.2.5/zip", "karaf", |
openengsb-attic/labs-paxexam-karaf | regression/src/test/java/org/openengsb/labs/paxexam/karaf/regression/BaseSmxTest.java | // Path: options/src/main/java/org/openengsb/labs/paxexam/karaf/options/KarafDistributionOption.java
// public static KarafDistributionBaseConfigurationOption karafDistributionConfiguration(String frameworkURL,
// String name, String karafVersion) {
// return new KarafDistributionConfigurationOption(framewo... | import static junit.framework.Assert.assertTrue;
import static org.openengsb.labs.paxexam.karaf.options.KarafDistributionOption.karafDistributionConfiguration;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.ops4j.pax.exam.Option;
import org.ops4j.pax.exam.junit.Configuration;
import org.ops4j.pax.ex... | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | // Path: options/src/main/java/org/openengsb/labs/paxexam/karaf/options/KarafDistributionOption.java
// public static KarafDistributionBaseConfigurationOption karafDistributionConfiguration(String frameworkURL,
// String name, String karafVersion) {
// return new KarafDistributionConfigurationOption(framewo... | return new Option[]{ karafDistributionConfiguration("mvn:org.apache.servicemix/apache-servicemix/4.4.1/zip", |
openengsb-attic/labs-paxexam-karaf | regression/src/test/java/org/openengsb/labs/paxexam/karaf/regression/ServicemixFeatureManipulationTest.java | // Path: options/src/main/java/org/openengsb/labs/paxexam/karaf/options/KarafDistributionOption.java
// public static Option editConfigurationFilePut(String configurationFilePath, String key, String value) {
// return new KarafDistributionConfigurationFilePutOption(configurationFilePath, key, value);
// }
//
// Pa... | import org.ops4j.pax.exam.Option;
import org.ops4j.pax.exam.junit.Configuration;
import org.ops4j.pax.exam.junit.ExamReactorStrategy;
import org.ops4j.pax.exam.junit.JUnit4TestRunner;
import org.ops4j.pax.exam.spi.reactors.AllConfinedStagedReactorFactory;
import static junit.framework.Assert.assertFalse;
import static ... | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | // Path: options/src/main/java/org/openengsb/labs/paxexam/karaf/options/KarafDistributionOption.java
// public static Option editConfigurationFilePut(String configurationFilePath, String key, String value) {
// return new KarafDistributionConfigurationFilePutOption(configurationFilePath, key, value);
// }
//
// Pa... | karafDistributionConfiguration() |
openengsb-attic/labs-paxexam-karaf | regression/src/test/java/org/openengsb/labs/paxexam/karaf/regression/ServicemixFeatureManipulationTest.java | // Path: options/src/main/java/org/openengsb/labs/paxexam/karaf/options/KarafDistributionOption.java
// public static Option editConfigurationFilePut(String configurationFilePath, String key, String value) {
// return new KarafDistributionConfigurationFilePutOption(configurationFilePath, key, value);
// }
//
// Pa... | import org.ops4j.pax.exam.Option;
import org.ops4j.pax.exam.junit.Configuration;
import org.ops4j.pax.exam.junit.ExamReactorStrategy;
import org.ops4j.pax.exam.junit.JUnit4TestRunner;
import org.ops4j.pax.exam.spi.reactors.AllConfinedStagedReactorFactory;
import static junit.framework.Assert.assertFalse;
import static ... | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | // Path: options/src/main/java/org/openengsb/labs/paxexam/karaf/options/KarafDistributionOption.java
// public static Option editConfigurationFilePut(String configurationFilePath, String key, String value) {
// return new KarafDistributionConfigurationFilePutOption(configurationFilePath, key, value);
// }
//
// Pa... | editConfigurationFilePut( |
openengsb-attic/labs-paxexam-karaf | regression/src/test/java/org/openengsb/labs/paxexam/karaf/regression/ServicemixFeatureManipulationTest.java | // Path: options/src/main/java/org/openengsb/labs/paxexam/karaf/options/KarafDistributionOption.java
// public static Option editConfigurationFilePut(String configurationFilePath, String key, String value) {
// return new KarafDistributionConfigurationFilePutOption(configurationFilePath, key, value);
// }
//
// Pa... | import org.ops4j.pax.exam.Option;
import org.ops4j.pax.exam.junit.Configuration;
import org.ops4j.pax.exam.junit.ExamReactorStrategy;
import org.ops4j.pax.exam.junit.JUnit4TestRunner;
import org.ops4j.pax.exam.spi.reactors.AllConfinedStagedReactorFactory;
import static junit.framework.Assert.assertFalse;
import static ... | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | // Path: options/src/main/java/org/openengsb/labs/paxexam/karaf/options/KarafDistributionOption.java
// public static Option editConfigurationFilePut(String configurationFilePath, String key, String value) {
// return new KarafDistributionConfigurationFilePutOption(configurationFilePath, key, value);
// }
//
// Pa... | FeaturesCfg.BOOT, |
openengsb-attic/labs-paxexam-karaf | regression/src/test/java/org/openengsb/labs/paxexam/karaf/regression/OpenEngSBBundleContextNotNullTest.java | // Path: options/src/main/java/org/openengsb/labs/paxexam/karaf/options/KarafDistributionOption.java
// public static KarafDistributionBaseConfigurationOption karafDistributionConfiguration(String frameworkURL,
// String name, String karafVersion) {
// return new KarafDistributionConfigurationOption(framewo... | import org.ops4j.pax.exam.spi.reactors.AllConfinedStagedReactorFactory;
import org.osgi.framework.BundleContext;
import static org.junit.Assert.assertNotNull;
import static org.openengsb.labs.paxexam.karaf.options.KarafDistributionOption.karafDistributionConfiguration;
import javax.inject.Inject;
import org.junit.After... | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | // Path: options/src/main/java/org/openengsb/labs/paxexam/karaf/options/KarafDistributionOption.java
// public static KarafDistributionBaseConfigurationOption karafDistributionConfiguration(String frameworkURL,
// String name, String karafVersion) {
// return new KarafDistributionConfigurationOption(framewo... | return new Option[]{ karafDistributionConfiguration( |
openengsb-attic/labs-paxexam-karaf | options/src/main/java/org/openengsb/labs/paxexam/karaf/options/configs/ManagementCfg.java | // Path: options/src/main/java/org/openengsb/labs/paxexam/karaf/options/ConfigurationPointer.java
// public class ConfigurationPointer {
//
// private String configurationFilePath;
// private String key;
//
// public ConfigurationPointer(String configurationFilePath, String key) {
// this.configur... | import org.openengsb.labs.paxexam.karaf.options.ConfigurationPointer; | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | // Path: options/src/main/java/org/openengsb/labs/paxexam/karaf/options/ConfigurationPointer.java
// public class ConfigurationPointer {
//
// private String configurationFilePath;
// private String key;
//
// public ConfigurationPointer(String configurationFilePath, String key) {
// this.configur... | static final ConfigurationPointer RMI_REGISTRY_PORT = new CustomPropertiesPointer("rmiRegistryPort"); |
openengsb-attic/labs-paxexam-karaf | regression/src/test/java/org/openengsb/labs/paxexam/karaf/regression/BaseKarafDefaultFrameworkTurnOffLogModificationTest.java | // Path: options/src/main/java/org/openengsb/labs/paxexam/karaf/options/KarafDistributionOption.java
// public static Option doNotModifyLogConfiguration() {
// return new DoNotModifyLogOption();
// }
//
// Path: options/src/main/java/org/openengsb/labs/paxexam/karaf/options/KarafDistributionOption.java
// public s... | import static junit.framework.Assert.assertTrue;
import static org.openengsb.labs.paxexam.karaf.options.KarafDistributionOption.doNotModifyLogConfiguration;
import static org.openengsb.labs.paxexam.karaf.options.KarafDistributionOption.karafDistributionConfiguration;
import org.junit.Test;
import org.junit.runner.RunWi... | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | // Path: options/src/main/java/org/openengsb/labs/paxexam/karaf/options/KarafDistributionOption.java
// public static Option doNotModifyLogConfiguration() {
// return new DoNotModifyLogOption();
// }
//
// Path: options/src/main/java/org/openengsb/labs/paxexam/karaf/options/KarafDistributionOption.java
// public s... | return new Option[]{ karafDistributionConfiguration("mvn:org.apache.karaf/apache-karaf/2.2.5/zip", "karaf", |
openengsb-attic/labs-paxexam-karaf | regression/src/test/java/org/openengsb/labs/paxexam/karaf/regression/BaseKarafDefaultFrameworkTurnOffLogModificationTest.java | // Path: options/src/main/java/org/openengsb/labs/paxexam/karaf/options/KarafDistributionOption.java
// public static Option doNotModifyLogConfiguration() {
// return new DoNotModifyLogOption();
// }
//
// Path: options/src/main/java/org/openengsb/labs/paxexam/karaf/options/KarafDistributionOption.java
// public s... | import static junit.framework.Assert.assertTrue;
import static org.openengsb.labs.paxexam.karaf.options.KarafDistributionOption.doNotModifyLogConfiguration;
import static org.openengsb.labs.paxexam.karaf.options.KarafDistributionOption.karafDistributionConfiguration;
import org.junit.Test;
import org.junit.runner.RunWi... | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | // Path: options/src/main/java/org/openengsb/labs/paxexam/karaf/options/KarafDistributionOption.java
// public static Option doNotModifyLogConfiguration() {
// return new DoNotModifyLogOption();
// }
//
// Path: options/src/main/java/org/openengsb/labs/paxexam/karaf/options/KarafDistributionOption.java
// public s... | "2.2.5"), doNotModifyLogConfiguration() }; |
openengsb-attic/labs-paxexam-karaf | regression/src/test/java/org/openengsb/labs/paxexam/karaf/regression/BaseKarafDefaultFrameworkWithConfiguredFoldersTest.java | // Path: options/src/main/java/org/openengsb/labs/paxexam/karaf/options/KarafDistributionOption.java
// public static KarafDistributionBaseConfigurationOption karafDistributionConfiguration(String frameworkURL,
// String name, String karafVersion) {
// return new KarafDistributionConfigurationOption(framewo... | import static junit.framework.Assert.assertTrue;
import static org.openengsb.labs.paxexam.karaf.options.KarafDistributionOption.karafDistributionConfiguration;
import static org.openengsb.labs.paxexam.karaf.options.KarafDistributionOption.keepRuntimeFolder;
import java.io.File;
import org.junit.Test;
import org.junit.r... | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | // Path: options/src/main/java/org/openengsb/labs/paxexam/karaf/options/KarafDistributionOption.java
// public static KarafDistributionBaseConfigurationOption karafDistributionConfiguration(String frameworkURL,
// String name, String karafVersion) {
// return new KarafDistributionConfigurationOption(framewo... | return new Option[]{ karafDistributionConfiguration("mvn:org.apache.karaf/apache-karaf/2.2.5/zip", "karaf", |
openengsb-attic/labs-paxexam-karaf | regression/src/test/java/org/openengsb/labs/paxexam/karaf/regression/BaseKarafDefaultFrameworkWithConfiguredFoldersTest.java | // Path: options/src/main/java/org/openengsb/labs/paxexam/karaf/options/KarafDistributionOption.java
// public static KarafDistributionBaseConfigurationOption karafDistributionConfiguration(String frameworkURL,
// String name, String karafVersion) {
// return new KarafDistributionConfigurationOption(framewo... | import static junit.framework.Assert.assertTrue;
import static org.openengsb.labs.paxexam.karaf.options.KarafDistributionOption.karafDistributionConfiguration;
import static org.openengsb.labs.paxexam.karaf.options.KarafDistributionOption.keepRuntimeFolder;
import java.io.File;
import org.junit.Test;
import org.junit.r... | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | // Path: options/src/main/java/org/openengsb/labs/paxexam/karaf/options/KarafDistributionOption.java
// public static KarafDistributionBaseConfigurationOption karafDistributionConfiguration(String frameworkURL,
// String name, String karafVersion) {
// return new KarafDistributionConfigurationOption(framewo... | "2.2.5").unpackDirectory(new File("target/paxexam/unpack/")), keepRuntimeFolder() }; |
openengsb-attic/labs-paxexam-karaf | regression/src/test/java/org/openengsb/labs/paxexam/karaf/regression/VersionAsInProjectServicemixTest.java | // Path: options/src/main/java/org/openengsb/labs/paxexam/karaf/options/KarafDistributionOption.java
// public static KarafDistributionBaseConfigurationOption karafDistributionConfiguration(String frameworkURL,
// String name, String karafVersion) {
// return new KarafDistributionConfigurationOption(framewo... | import static junit.framework.Assert.assertTrue;
import static org.openengsb.labs.paxexam.karaf.options.KarafDistributionOption.karafDistributionConfiguration;
import static org.ops4j.pax.exam.CoreOptions.maven;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.ops4j.pax.exam.Option;
import org.ops4j.p... | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | // Path: options/src/main/java/org/openengsb/labs/paxexam/karaf/options/KarafDistributionOption.java
// public static KarafDistributionBaseConfigurationOption karafDistributionConfiguration(String frameworkURL,
// String name, String karafVersion) {
// return new KarafDistributionConfigurationOption(framewo... | return new Option[]{ karafDistributionConfiguration().frameworkUrl( |
openengsb-attic/labs-paxexam-karaf | regression/src/test/java/org/openengsb/labs/paxexam/karaf/regression/NativeKarafFrameworkTest.java | // Path: options/src/main/java/org/openengsb/labs/paxexam/karaf/options/KarafDistributionKitConfigurationOption.java
// public class KarafDistributionKitConfigurationOption extends KarafDistributionBaseConfigurationOption {
//
// public enum Platform {
// WINDOWS, NIX
// }
//
// private Platform p... | import static junit.framework.Assert.assertTrue;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.openengsb.labs.paxexam.karaf.options.KarafDistributionKitConfigurationOption;
import org.openengsb.labs.paxexam.karaf.options.KarafDistributionKitConfigurationOption.Platform;
import org.ops4j.pax.exam.Op... | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | // Path: options/src/main/java/org/openengsb/labs/paxexam/karaf/options/KarafDistributionKitConfigurationOption.java
// public class KarafDistributionKitConfigurationOption extends KarafDistributionBaseConfigurationOption {
//
// public enum Platform {
// WINDOWS, NIX
// }
//
// private Platform p... | new KarafDistributionKitConfigurationOption("mvn:org.apache.karaf/apache-karaf/2.2.4/zip", "karaf", |
openengsb-attic/labs-paxexam-karaf | regression/src/test/java/org/openengsb/labs/paxexam/karaf/regression/NativeKarafFrameworkTest.java | // Path: options/src/main/java/org/openengsb/labs/paxexam/karaf/options/KarafDistributionKitConfigurationOption.java
// public class KarafDistributionKitConfigurationOption extends KarafDistributionBaseConfigurationOption {
//
// public enum Platform {
// WINDOWS, NIX
// }
//
// private Platform p... | import static junit.framework.Assert.assertTrue;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.openengsb.labs.paxexam.karaf.options.KarafDistributionKitConfigurationOption;
import org.openengsb.labs.paxexam.karaf.options.KarafDistributionKitConfigurationOption.Platform;
import org.ops4j.pax.exam.Op... | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | // Path: options/src/main/java/org/openengsb/labs/paxexam/karaf/options/KarafDistributionKitConfigurationOption.java
// public class KarafDistributionKitConfigurationOption extends KarafDistributionBaseConfigurationOption {
//
// public enum Platform {
// WINDOWS, NIX
// }
//
// private Platform p... | "2.2.4", Platform.WINDOWS).executable("bin\\karaf.bat").filesToMakeExecutable("bin\\admin.bat"), |
openengsb-attic/labs-paxexam-karaf | regression/src/test/java/org/openengsb/labs/paxexam/karaf/regression/KarafBundleContextNotNullTest.java | // Path: options/src/main/java/org/openengsb/labs/paxexam/karaf/options/KarafDistributionOption.java
// public static KarafDistributionBaseConfigurationOption karafDistributionConfiguration(String frameworkURL,
// String name, String karafVersion) {
// return new KarafDistributionConfigurationOption(framewo... | import org.ops4j.pax.exam.spi.reactors.AllConfinedStagedReactorFactory;
import org.osgi.framework.BundleContext;
import static org.junit.Assert.assertNotNull;
import static org.openengsb.labs.paxexam.karaf.options.KarafDistributionOption.karafDistributionConfiguration;
import javax.inject.Inject;
import org.junit.After... | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | // Path: options/src/main/java/org/openengsb/labs/paxexam/karaf/options/KarafDistributionOption.java
// public static KarafDistributionBaseConfigurationOption karafDistributionConfiguration(String frameworkURL,
// String name, String karafVersion) {
// return new KarafDistributionConfigurationOption(framewo... | return new Option[]{ karafDistributionConfiguration("mvn:org.apache.karaf/apache-karaf/2.2.5/zip", "karaf", |
openengsb-attic/labs-paxexam-karaf | regression/src/test/java/org/openengsb/labs/paxexam/karaf/regression/BaseKarafDefaultFrameworkWithShellOffTest.java | // Path: options/src/main/java/org/openengsb/labs/paxexam/karaf/options/KarafDistributionOption.java
// public static KarafDistributionConfigurationConsoleOption configureConsole() {
// return new KarafDistributionConfigurationConsoleOption(null, null);
// }
//
// Path: options/src/main/java/org/openengsb/labs/pax... | import static junit.framework.Assert.assertTrue;
import static org.openengsb.labs.paxexam.karaf.options.KarafDistributionOption.configureConsole;
import static org.openengsb.labs.paxexam.karaf.options.KarafDistributionOption.karafDistributionConfiguration;
import org.junit.Test;
import org.junit.runner.RunWith;
import ... | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | // Path: options/src/main/java/org/openengsb/labs/paxexam/karaf/options/KarafDistributionOption.java
// public static KarafDistributionConfigurationConsoleOption configureConsole() {
// return new KarafDistributionConfigurationConsoleOption(null, null);
// }
//
// Path: options/src/main/java/org/openengsb/labs/pax... | return new Option[]{ karafDistributionConfiguration("mvn:org.apache.karaf/apache-karaf/2.2.5/zip", "karaf", |
openengsb-attic/labs-paxexam-karaf | regression/src/test/java/org/openengsb/labs/paxexam/karaf/regression/BaseKarafDefaultFrameworkWithShellOffTest.java | // Path: options/src/main/java/org/openengsb/labs/paxexam/karaf/options/KarafDistributionOption.java
// public static KarafDistributionConfigurationConsoleOption configureConsole() {
// return new KarafDistributionConfigurationConsoleOption(null, null);
// }
//
// Path: options/src/main/java/org/openengsb/labs/pax... | import static junit.framework.Assert.assertTrue;
import static org.openengsb.labs.paxexam.karaf.options.KarafDistributionOption.configureConsole;
import static org.openengsb.labs.paxexam.karaf.options.KarafDistributionOption.karafDistributionConfiguration;
import org.junit.Test;
import org.junit.runner.RunWith;
import ... | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | // Path: options/src/main/java/org/openengsb/labs/paxexam/karaf/options/KarafDistributionOption.java
// public static KarafDistributionConfigurationConsoleOption configureConsole() {
// return new KarafDistributionConfigurationConsoleOption(null, null);
// }
//
// Path: options/src/main/java/org/openengsb/labs/pax... | "2.2.5"), configureConsole().ignoreLocalConsole().ignoreRemoteShell() }; |
openengsb-attic/labs-paxexam-karaf | regression/src/test/java/org/openengsb/labs/paxexam/karaf/regression/SystemPackageOptionTest.java | // Path: options/src/main/java/org/openengsb/labs/paxexam/karaf/options/KarafDistributionOption.java
// public static KarafDistributionBaseConfigurationOption karafDistributionConfiguration(String frameworkURL,
// String name, String karafVersion) {
// return new KarafDistributionConfigurationOption(framewo... | import org.ops4j.pax.exam.spi.reactors.AllConfinedStagedReactorFactory;
import static junit.framework.Assert.assertEquals;
import static org.openengsb.labs.paxexam.karaf.options.KarafDistributionOption.karafDistributionConfiguration;
import static org.ops4j.pax.exam.CoreOptions.systemPackage;
import java.io.FileInputSt... | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | // Path: options/src/main/java/org/openengsb/labs/paxexam/karaf/options/KarafDistributionOption.java
// public static KarafDistributionBaseConfigurationOption karafDistributionConfiguration(String frameworkURL,
// String name, String karafVersion) {
// return new KarafDistributionConfigurationOption(framewo... | karafDistributionConfiguration("mvn:org.apache.karaf/apache-karaf/2.2.5/zip", "karaf", "2.2.5"), |
openengsb-attic/labs-paxexam-karaf | options/src/main/java/org/openengsb/labs/paxexam/karaf/options/configs/WebCfg.java | // Path: options/src/main/java/org/openengsb/labs/paxexam/karaf/options/ConfigurationPointer.java
// public class ConfigurationPointer {
//
// private String configurationFilePath;
// private String key;
//
// public ConfigurationPointer(String configurationFilePath, String key) {
// this.configur... | import org.openengsb.labs.paxexam.karaf.options.ConfigurationPointer; | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | // Path: options/src/main/java/org/openengsb/labs/paxexam/karaf/options/ConfigurationPointer.java
// public class ConfigurationPointer {
//
// private String configurationFilePath;
// private String key;
//
// public ConfigurationPointer(String configurationFilePath, String key) {
// this.configur... | static final ConfigurationPointer HTTP_PORT = new CustomPropertiesPointer("org.osgi.service.http.port"); |
openengsb-attic/labs-paxexam-karaf | container/src/main/java/org/openengsb/labs/paxexam/karaf/container/internal/examAdaptions/AbstractExamFeaturesFile.java | // Path: container/src/main/java/org/openengsb/labs/paxexam/karaf/container/internal/Constants.java
// public interface Constants {
//
// static final String FEATURES_CFG_LOCATION = "/etc/org.apache.karaf.features.cfg";
//
// static final int SYSTEM_BUNDLE = 0;
//
// static final int DEFAULT_START_LEVEL ... | import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.util.Properties;
import org.apache.commons.io.FileUtils;
import org.openengsb.labs.paxexam.karaf.container.internal.Constants;
import org.openengsb.labs.paxexam.karaf.container.internal.KarafPropertiesFile; | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | // Path: container/src/main/java/org/openengsb/labs/paxexam/karaf/container/internal/Constants.java
// public interface Constants {
//
// static final String FEATURES_CFG_LOCATION = "/etc/org.apache.karaf.features.cfg";
//
// static final int SYSTEM_BUNDLE = 0;
//
// static final int DEFAULT_START_LEVEL ... | KarafPropertiesFile karafPropertiesFile = new KarafPropertiesFile(karafHome, Constants.FEATURES_CFG_LOCATION); |
openengsb-attic/labs-paxexam-karaf | container/src/main/java/org/openengsb/labs/paxexam/karaf/container/internal/examAdaptions/AbstractExamFeaturesFile.java | // Path: container/src/main/java/org/openengsb/labs/paxexam/karaf/container/internal/Constants.java
// public interface Constants {
//
// static final String FEATURES_CFG_LOCATION = "/etc/org.apache.karaf.features.cfg";
//
// static final int SYSTEM_BUNDLE = 0;
//
// static final int DEFAULT_START_LEVEL ... | import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.util.Properties;
import org.apache.commons.io.FileUtils;
import org.openengsb.labs.paxexam.karaf.container.internal.Constants;
import org.openengsb.labs.paxexam.karaf.container.internal.KarafPropertiesFile; | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | // Path: container/src/main/java/org/openengsb/labs/paxexam/karaf/container/internal/Constants.java
// public interface Constants {
//
// static final String FEATURES_CFG_LOCATION = "/etc/org.apache.karaf.features.cfg";
//
// static final int SYSTEM_BUNDLE = 0;
//
// static final int DEFAULT_START_LEVEL ... | KarafPropertiesFile karafPropertiesFile = new KarafPropertiesFile(karafHome, Constants.FEATURES_CFG_LOCATION); |
openengsb-attic/labs-paxexam-karaf | regression/src/test/java/org/openengsb/labs/paxexam/karaf/regression/BaseKarafDefaultFrameworkUseFeatureInsteadOfDeployFolderTest.java | // Path: options/src/main/java/org/openengsb/labs/paxexam/karaf/options/KarafDistributionOption.java
// public static KarafDistributionBaseConfigurationOption karafDistributionConfiguration(String frameworkURL,
// String name, String karafVersion) {
// return new KarafDistributionConfigurationOption(framewo... | import org.ops4j.pax.exam.spi.reactors.AllConfinedStagedReactorFactory;
import org.osgi.framework.Bundle;
import org.osgi.framework.BundleContext;
import static junit.framework.Assert.fail;
import static org.openengsb.labs.paxexam.karaf.options.KarafDistributionOption.karafDistributionConfiguration;
import static org.o... | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | // Path: options/src/main/java/org/openengsb/labs/paxexam/karaf/options/KarafDistributionOption.java
// public static KarafDistributionBaseConfigurationOption karafDistributionConfiguration(String frameworkURL,
// String name, String karafVersion) {
// return new KarafDistributionConfigurationOption(framewo... | return new Option[]{ karafDistributionConfiguration("mvn:org.apache.karaf/apache-karaf/2.2.5/zip", "karaf", |
openengsb-attic/labs-paxexam-karaf | regression/src/test/java/org/openengsb/labs/paxexam/karaf/regression/BundleStartLvlTest.java | // Path: options/src/main/java/org/openengsb/labs/paxexam/karaf/options/KarafDistributionOption.java
// public static KarafDistributionBaseConfigurationOption karafDistributionConfiguration(String frameworkURL,
// String name, String karafVersion) {
// return new KarafDistributionConfigurationOption(framewo... | import static junit.framework.Assert.assertTrue;
import static org.openengsb.labs.paxexam.karaf.options.KarafDistributionOption.karafDistributionConfiguration;
import static org.openengsb.labs.paxexam.karaf.options.KarafDistributionOption.useOwnExamBundlesStartLevel;
import org.junit.Test;
import org.junit.runner.RunWi... | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | // Path: options/src/main/java/org/openengsb/labs/paxexam/karaf/options/KarafDistributionOption.java
// public static KarafDistributionBaseConfigurationOption karafDistributionConfiguration(String frameworkURL,
// String name, String karafVersion) {
// return new KarafDistributionConfigurationOption(framewo... | return new Option[]{ karafDistributionConfiguration("mvn:org.apache.karaf/apache-karaf/2.2.5/zip", "karaf", |
openengsb-attic/labs-paxexam-karaf | regression/src/test/java/org/openengsb/labs/paxexam/karaf/regression/BundleStartLvlTest.java | // Path: options/src/main/java/org/openengsb/labs/paxexam/karaf/options/KarafDistributionOption.java
// public static KarafDistributionBaseConfigurationOption karafDistributionConfiguration(String frameworkURL,
// String name, String karafVersion) {
// return new KarafDistributionConfigurationOption(framewo... | import static junit.framework.Assert.assertTrue;
import static org.openengsb.labs.paxexam.karaf.options.KarafDistributionOption.karafDistributionConfiguration;
import static org.openengsb.labs.paxexam.karaf.options.KarafDistributionOption.useOwnExamBundlesStartLevel;
import org.junit.Test;
import org.junit.runner.RunWi... | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | // Path: options/src/main/java/org/openengsb/labs/paxexam/karaf/options/KarafDistributionOption.java
// public static KarafDistributionBaseConfigurationOption karafDistributionConfiguration(String frameworkURL,
// String name, String karafVersion) {
// return new KarafDistributionConfigurationOption(framewo... | "2.2.5"), useOwnExamBundlesStartLevel(4) }; |
openengsb-attic/labs-paxexam-karaf | regression/src/test/java/org/openengsb/labs/paxexam/karaf/regression/InvokerConfigurationTest.java | // Path: options/src/main/java/org/openengsb/labs/paxexam/karaf/options/KarafDistributionOption.java
// public static KarafDistributionBaseConfigurationOption karafDistributionConfiguration(String frameworkURL,
// String name, String karafVersion) {
// return new KarafDistributionConfigurationOption(framewo... | import static junit.framework.Assert.assertTrue;
import static org.openengsb.labs.paxexam.karaf.options.KarafDistributionOption.karafDistributionConfiguration;
import static org.openengsb.labs.paxexam.karaf.options.KarafDistributionOption.useOwnKarafExamSystemConfiguration;
import org.junit.Test;
import org.junit.runne... | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | // Path: options/src/main/java/org/openengsb/labs/paxexam/karaf/options/KarafDistributionOption.java
// public static KarafDistributionBaseConfigurationOption karafDistributionConfiguration(String frameworkURL,
// String name, String karafVersion) {
// return new KarafDistributionConfigurationOption(framewo... | return new Option[]{ karafDistributionConfiguration("mvn:org.apache.karaf/apache-karaf/2.2.5/zip", "karaf", |
openengsb-attic/labs-paxexam-karaf | regression/src/test/java/org/openengsb/labs/paxexam/karaf/regression/InvokerConfigurationTest.java | // Path: options/src/main/java/org/openengsb/labs/paxexam/karaf/options/KarafDistributionOption.java
// public static KarafDistributionBaseConfigurationOption karafDistributionConfiguration(String frameworkURL,
// String name, String karafVersion) {
// return new KarafDistributionConfigurationOption(framewo... | import static junit.framework.Assert.assertTrue;
import static org.openengsb.labs.paxexam.karaf.options.KarafDistributionOption.karafDistributionConfiguration;
import static org.openengsb.labs.paxexam.karaf.options.KarafDistributionOption.useOwnKarafExamSystemConfiguration;
import org.junit.Test;
import org.junit.runne... | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | // Path: options/src/main/java/org/openengsb/labs/paxexam/karaf/options/KarafDistributionOption.java
// public static KarafDistributionBaseConfigurationOption karafDistributionConfiguration(String frameworkURL,
// String name, String karafVersion) {
// return new KarafDistributionConfigurationOption(framewo... | "2.2.5"), useOwnKarafExamSystemConfiguration("junit") }; |
openengsb-attic/labs-paxexam-karaf | options/src/main/java/org/openengsb/labs/paxexam/karaf/options/configs/LoggingCfg.java | // Path: options/src/main/java/org/openengsb/labs/paxexam/karaf/options/ConfigurationPointer.java
// public class ConfigurationPointer {
//
// private String configurationFilePath;
// private String key;
//
// public ConfigurationPointer(String configurationFilePath, String key) {
// this.configur... | import org.openengsb.labs.paxexam.karaf.options.ConfigurationPointer; | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | // Path: options/src/main/java/org/openengsb/labs/paxexam/karaf/options/ConfigurationPointer.java
// public class ConfigurationPointer {
//
// private String configurationFilePath;
// private String key;
//
// public ConfigurationPointer(String configurationFilePath, String key) {
// this.configur... | static final ConfigurationPointer ROOT_LOGGER = new CustomPropertiesPointer("log4j.rootLogger"); |
openengsb-attic/labs-paxexam-karaf | regression/src/test/java/org/openengsb/labs/paxexam/karaf/regression/BootDelegationOptionTest.java | // Path: options/src/main/java/org/openengsb/labs/paxexam/karaf/options/KarafDistributionOption.java
// public static KarafDistributionBaseConfigurationOption karafDistributionConfiguration(String frameworkURL,
// String name, String karafVersion) {
// return new KarafDistributionConfigurationOption(framewo... | import org.ops4j.pax.exam.spi.reactors.AllConfinedStagedReactorFactory;
import static junit.framework.Assert.assertEquals;
import static org.openengsb.labs.paxexam.karaf.options.KarafDistributionOption.karafDistributionConfiguration;
import static org.ops4j.pax.exam.CoreOptions.bootDelegationPackage;
import java.io.Fil... | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | // Path: options/src/main/java/org/openengsb/labs/paxexam/karaf/options/KarafDistributionOption.java
// public static KarafDistributionBaseConfigurationOption karafDistributionConfiguration(String frameworkURL,
// String name, String karafVersion) {
// return new KarafDistributionConfigurationOption(framewo... | karafDistributionConfiguration("mvn:org.apache.karaf/apache-karaf/2.2.5/zip", "karaf", "2.2.5"), |
openengsb-attic/labs-paxexam-karaf | regression/src/test/java/org/openengsb/labs/paxexam/karaf/regression/VmSettingsTest.java | // Path: options/src/main/java/org/openengsb/labs/paxexam/karaf/options/KarafDistributionOption.java
// public static KarafDistributionBaseConfigurationOption karafDistributionConfiguration(String frameworkURL,
// String name, String karafVersion) {
// return new KarafDistributionConfigurationOption(framewo... | import static junit.framework.Assert.assertTrue;
import static org.openengsb.labs.paxexam.karaf.options.KarafDistributionOption.karafDistributionConfiguration;
import static org.openengsb.labs.paxexam.karaf.options.KarafDistributionOption.logLevel;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.open... | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | // Path: options/src/main/java/org/openengsb/labs/paxexam/karaf/options/KarafDistributionOption.java
// public static KarafDistributionBaseConfigurationOption karafDistributionConfiguration(String frameworkURL,
// String name, String karafVersion) {
// return new KarafDistributionConfigurationOption(framewo... | return new Option[]{ karafDistributionConfiguration("mvn:org.apache.karaf/apache-karaf/2.2.5/zip", "karaf", |
openengsb-attic/labs-paxexam-karaf | regression/src/test/java/org/openengsb/labs/paxexam/karaf/regression/VmSettingsTest.java | // Path: options/src/main/java/org/openengsb/labs/paxexam/karaf/options/KarafDistributionOption.java
// public static KarafDistributionBaseConfigurationOption karafDistributionConfiguration(String frameworkURL,
// String name, String karafVersion) {
// return new KarafDistributionConfigurationOption(framewo... | import static junit.framework.Assert.assertTrue;
import static org.openengsb.labs.paxexam.karaf.options.KarafDistributionOption.karafDistributionConfiguration;
import static org.openengsb.labs.paxexam.karaf.options.KarafDistributionOption.logLevel;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.open... | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | // Path: options/src/main/java/org/openengsb/labs/paxexam/karaf/options/KarafDistributionOption.java
// public static KarafDistributionBaseConfigurationOption karafDistributionConfiguration(String frameworkURL,
// String name, String karafVersion) {
// return new KarafDistributionConfigurationOption(framewo... | "2.2.5"), logLevel(LogLevel.TRACE), new VMOption("-Xmx1024m"), new VMOption("-XX:MaxPermSize=56m") }; |
openengsb-attic/labs-paxexam-karaf | regression/src/test/java/org/openengsb/labs/paxexam/karaf/regression/VmSettingsTest.java | // Path: options/src/main/java/org/openengsb/labs/paxexam/karaf/options/KarafDistributionOption.java
// public static KarafDistributionBaseConfigurationOption karafDistributionConfiguration(String frameworkURL,
// String name, String karafVersion) {
// return new KarafDistributionConfigurationOption(framewo... | import static junit.framework.Assert.assertTrue;
import static org.openengsb.labs.paxexam.karaf.options.KarafDistributionOption.karafDistributionConfiguration;
import static org.openengsb.labs.paxexam.karaf.options.KarafDistributionOption.logLevel;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.open... | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | // Path: options/src/main/java/org/openengsb/labs/paxexam/karaf/options/KarafDistributionOption.java
// public static KarafDistributionBaseConfigurationOption karafDistributionConfiguration(String frameworkURL,
// String name, String karafVersion) {
// return new KarafDistributionConfigurationOption(framewo... | "2.2.5"), logLevel(LogLevel.TRACE), new VMOption("-Xmx1024m"), new VMOption("-XX:MaxPermSize=56m") }; |
openengsb-attic/labs-paxexam-karaf | regression/src/test/java/org/openengsb/labs/paxexam/karaf/regression/BaseKarafDefaultFrameworkDuplicatedPropertyEntryTest.java | // Path: options/src/main/java/org/openengsb/labs/paxexam/karaf/options/KarafDistributionOption.java
// public static Option editConfigurationFileExtend(String configurationFilePath, String key, String value) {
// return new KarafDistributionConfigurationFileExtendOption(configurationFilePath, key, value);
// }
// ... | import org.ops4j.pax.exam.junit.JUnit4TestRunner;
import org.ops4j.pax.exam.spi.reactors.AllConfinedStagedReactorFactory;
import org.osgi.framework.BundleContext;
import org.osgi.framework.ServiceReference;
import org.osgi.service.cm.ConfigurationAdmin;
import static junit.framework.Assert.assertEquals;
import static j... | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | // Path: options/src/main/java/org/openengsb/labs/paxexam/karaf/options/KarafDistributionOption.java
// public static Option editConfigurationFileExtend(String configurationFilePath, String key, String value) {
// return new KarafDistributionConfigurationFileExtendOption(configurationFilePath, key, value);
// }
// ... | karafDistributionConfiguration().frameworkUrl( |
openengsb-attic/labs-paxexam-karaf | regression/src/test/java/org/openengsb/labs/paxexam/karaf/regression/BaseKarafDefaultFrameworkDuplicatedPropertyEntryTest.java | // Path: options/src/main/java/org/openengsb/labs/paxexam/karaf/options/KarafDistributionOption.java
// public static Option editConfigurationFileExtend(String configurationFilePath, String key, String value) {
// return new KarafDistributionConfigurationFileExtendOption(configurationFilePath, key, value);
// }
// ... | import org.ops4j.pax.exam.junit.JUnit4TestRunner;
import org.ops4j.pax.exam.spi.reactors.AllConfinedStagedReactorFactory;
import org.osgi.framework.BundleContext;
import org.osgi.framework.ServiceReference;
import org.osgi.service.cm.ConfigurationAdmin;
import static junit.framework.Assert.assertEquals;
import static j... | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | // Path: options/src/main/java/org/openengsb/labs/paxexam/karaf/options/KarafDistributionOption.java
// public static Option editConfigurationFileExtend(String configurationFilePath, String key, String value) {
// return new KarafDistributionConfigurationFileExtendOption(configurationFilePath, key, value);
// }
// ... | editConfigurationFileExtend("etc/tests.cfg", "mykey", "myvalue1"), |
openengsb-attic/labs-paxexam-karaf | options/src/main/java/org/openengsb/labs/paxexam/karaf/options/configs/FeaturesCfg.java | // Path: options/src/main/java/org/openengsb/labs/paxexam/karaf/options/ConfigurationPointer.java
// public class ConfigurationPointer {
//
// private String configurationFilePath;
// private String key;
//
// public ConfigurationPointer(String configurationFilePath, String key) {
// this.configur... | import org.openengsb.labs.paxexam.karaf.options.ConfigurationPointer; | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | // Path: options/src/main/java/org/openengsb/labs/paxexam/karaf/options/ConfigurationPointer.java
// public class ConfigurationPointer {
//
// private String configurationFilePath;
// private String key;
//
// public ConfigurationPointer(String configurationFilePath, String key) {
// this.configur... | static final ConfigurationPointer REPOSITORIES = new CustomPropertiesPointer("featuresRepositories"); |
openengsb-attic/labs-paxexam-karaf | options/src/main/java/org/openengsb/labs/paxexam/karaf/options/configs/UsersProperties.java | // Path: options/src/main/java/org/openengsb/labs/paxexam/karaf/options/ConfigurationPointer.java
// public class ConfigurationPointer {
//
// private String configurationFilePath;
// private String key;
//
// public ConfigurationPointer(String configurationFilePath, String key) {
// this.configur... | import org.openengsb.labs.paxexam.karaf.options.ConfigurationPointer; | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | // Path: options/src/main/java/org/openengsb/labs/paxexam/karaf/options/ConfigurationPointer.java
// public class ConfigurationPointer {
//
// private String configurationFilePath;
// private String key;
//
// public ConfigurationPointer(String configurationFilePath, String key) {
// this.configur... | static final ConfigurationPointer KARAF_USER = new CustomPropertiesPointer("karaf"); |
openengsb-attic/labs-paxexam-karaf | options/src/main/java/org/openengsb/labs/paxexam/karaf/options/configs/JreProperties.java | // Path: options/src/main/java/org/openengsb/labs/paxexam/karaf/options/ConfigurationPointer.java
// public class ConfigurationPointer {
//
// private String configurationFilePath;
// private String key;
//
// public ConfigurationPointer(String configurationFilePath, String key) {
// this.configur... | import org.openengsb.labs.paxexam.karaf.options.ConfigurationPointer; | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | // Path: options/src/main/java/org/openengsb/labs/paxexam/karaf/options/ConfigurationPointer.java
// public class ConfigurationPointer {
//
// private String configurationFilePath;
// private String key;
//
// public ConfigurationPointer(String configurationFilePath, String key) {
// this.configur... | static final ConfigurationPointer JRE15 = new CustomPropertiesPointer("jre-1.5"); |
openengsb-attic/labs-paxexam-karaf | regression/src/test/java/org/openengsb/labs/paxexam/karaf/regression/BootClasspathLibraryOptionTest.java | // Path: options/src/main/java/org/openengsb/labs/paxexam/karaf/options/KarafDistributionOption.java
// public static KarafDistributionBaseConfigurationOption karafDistributionConfiguration(String frameworkURL,
// String name, String karafVersion) {
// return new KarafDistributionConfigurationOption(framewo... | import static junit.framework.Assert.assertEquals;
import static org.openengsb.labs.paxexam.karaf.options.KarafDistributionOption.karafDistributionConfiguration;
import static org.ops4j.pax.exam.CoreOptions.bootClasspathLibrary;
import java.io.File;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.ops... | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | // Path: options/src/main/java/org/openengsb/labs/paxexam/karaf/options/KarafDistributionOption.java
// public static KarafDistributionBaseConfigurationOption karafDistributionConfiguration(String frameworkURL,
// String name, String karafVersion) {
// return new KarafDistributionConfigurationOption(framewo... | karafDistributionConfiguration("mvn:org.apache.karaf/apache-karaf/2.2.5/zip", "karaf", "2.2.5"), |
openengsb-attic/labs-paxexam-karaf | regression/src/test/java/org/openengsb/labs/paxexam/karaf/regression/FileSourceTest.java | // Path: options/src/main/java/org/openengsb/labs/paxexam/karaf/options/KarafDistributionOption.java
// public static KarafDistributionBaseConfigurationOption karafDistributionConfiguration(String frameworkURL,
// String name, String karafVersion) {
// return new KarafDistributionConfigurationOption(framewo... | import org.junit.runner.RunWith;
import org.ops4j.pax.exam.Option;
import org.ops4j.pax.exam.junit.Configuration;
import org.ops4j.pax.exam.junit.ExamReactorStrategy;
import org.ops4j.pax.exam.junit.JUnit4TestRunner;
import org.ops4j.pax.exam.spi.reactors.AllConfinedStagedReactorFactory;
import static junit.framework.A... | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | // Path: options/src/main/java/org/openengsb/labs/paxexam/karaf/options/KarafDistributionOption.java
// public static KarafDistributionBaseConfigurationOption karafDistributionConfiguration(String frameworkURL,
// String name, String karafVersion) {
// return new KarafDistributionConfigurationOption(framewo... | return new Option[]{ karafDistributionConfiguration("file://" + createTempFile.toString(), "karaf", |
openengsb-attic/labs-paxexam-karaf | options/src/main/java/org/openengsb/labs/paxexam/karaf/options/KarafDistributionOption.java | // Path: options/src/main/java/org/openengsb/labs/paxexam/karaf/options/LogLevelOption.java
// public static enum LogLevel {
// TRACE, DEBUG, INFO, WARN, ERROR
// }
| import org.ops4j.pax.exam.options.extra.VMOption;
import static java.lang.String.format;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import java.util.Properties;
import java.util.Set;
import org... | public static Option[] editConfigurationFileExtend(final String configurationFilePath, File source,
String... keysToUseFromSource) {
return createOptionListFromFile(source, new FileOptionFactory() {
@Override
public Option createOption(String key, String value) {
... | // Path: options/src/main/java/org/openengsb/labs/paxexam/karaf/options/LogLevelOption.java
// public static enum LogLevel {
// TRACE, DEBUG, INFO, WARN, ERROR
// }
// Path: options/src/main/java/org/openengsb/labs/paxexam/karaf/options/KarafDistributionOption.java
import org.ops4j.pax.exam.options.extra.VMOption... | public static Option logLevel(LogLevel logLevel) { |
openengsb-attic/labs-paxexam-karaf | container/src/main/java/org/openengsb/labs/paxexam/karaf/container/internal/karafAdaptions/KarafManipulatorFactory.java | // Path: container/src/main/java/org/openengsb/labs/paxexam/karaf/container/internal/util/NormalisedMavenVersionAdapter.java
// public class NormalisedMavenVersionAdapter extends Version {
//
// private static final String VERSION_PATTERN = "[^0-9.]";
//
// public NormalisedMavenVersionAdapter(int major, int ... | import org.openengsb.labs.paxexam.karaf.container.internal.util.NormalisedMavenVersionAdapter;
import org.osgi.framework.Version; | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | // Path: container/src/main/java/org/openengsb/labs/paxexam/karaf/container/internal/util/NormalisedMavenVersionAdapter.java
// public class NormalisedMavenVersionAdapter extends Version {
//
// private static final String VERSION_PATTERN = "[^0-9.]";
//
// public NormalisedMavenVersionAdapter(int major, int ... | Version version = new NormalisedMavenVersionAdapter(karafVersion); |
openengsb-attic/labs-paxexam-karaf | regression/src/test/java/org/openengsb/labs/paxexam/karaf/regression/LogLevelTest.java | // Path: options/src/main/java/org/openengsb/labs/paxexam/karaf/options/KarafDistributionOption.java
// public static KarafDistributionBaseConfigurationOption karafDistributionConfiguration(String frameworkURL,
// String name, String karafVersion) {
// return new KarafDistributionConfigurationOption(framewo... | import static junit.framework.Assert.assertTrue;
import static org.openengsb.labs.paxexam.karaf.options.KarafDistributionOption.karafDistributionConfiguration;
import static org.openengsb.labs.paxexam.karaf.options.KarafDistributionOption.logLevel;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.open... | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | // Path: options/src/main/java/org/openengsb/labs/paxexam/karaf/options/KarafDistributionOption.java
// public static KarafDistributionBaseConfigurationOption karafDistributionConfiguration(String frameworkURL,
// String name, String karafVersion) {
// return new KarafDistributionConfigurationOption(framewo... | return new Option[]{ karafDistributionConfiguration("mvn:org.apache.karaf/apache-karaf/2.2.5/zip", "karaf", |
openengsb-attic/labs-paxexam-karaf | regression/src/test/java/org/openengsb/labs/paxexam/karaf/regression/LogLevelTest.java | // Path: options/src/main/java/org/openengsb/labs/paxexam/karaf/options/KarafDistributionOption.java
// public static KarafDistributionBaseConfigurationOption karafDistributionConfiguration(String frameworkURL,
// String name, String karafVersion) {
// return new KarafDistributionConfigurationOption(framewo... | import static junit.framework.Assert.assertTrue;
import static org.openengsb.labs.paxexam.karaf.options.KarafDistributionOption.karafDistributionConfiguration;
import static org.openengsb.labs.paxexam.karaf.options.KarafDistributionOption.logLevel;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.open... | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | // Path: options/src/main/java/org/openengsb/labs/paxexam/karaf/options/KarafDistributionOption.java
// public static KarafDistributionBaseConfigurationOption karafDistributionConfiguration(String frameworkURL,
// String name, String karafVersion) {
// return new KarafDistributionConfigurationOption(framewo... | "2.2.5"), logLevel(LogLevel.TRACE) }; |
openengsb-attic/labs-paxexam-karaf | regression/src/test/java/org/openengsb/labs/paxexam/karaf/regression/LogLevelTest.java | // Path: options/src/main/java/org/openengsb/labs/paxexam/karaf/options/KarafDistributionOption.java
// public static KarafDistributionBaseConfigurationOption karafDistributionConfiguration(String frameworkURL,
// String name, String karafVersion) {
// return new KarafDistributionConfigurationOption(framewo... | import static junit.framework.Assert.assertTrue;
import static org.openengsb.labs.paxexam.karaf.options.KarafDistributionOption.karafDistributionConfiguration;
import static org.openengsb.labs.paxexam.karaf.options.KarafDistributionOption.logLevel;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.open... | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | // Path: options/src/main/java/org/openengsb/labs/paxexam/karaf/options/KarafDistributionOption.java
// public static KarafDistributionBaseConfigurationOption karafDistributionConfiguration(String frameworkURL,
// String name, String karafVersion) {
// return new KarafDistributionConfigurationOption(framewo... | "2.2.5"), logLevel(LogLevel.TRACE) }; |
openengsb-attic/labs-paxexam-karaf | regression23/src/test/java/org/openengsb/labs/paxexam/karaf/regression/BaseKarafDefaultFrameworkTest.java | // Path: options/src/main/java/org/openengsb/labs/paxexam/karaf/options/KarafDistributionOption.java
// public static KarafDistributionBaseConfigurationOption karafDistributionConfiguration(String frameworkURL,
// String name, String karafVersion) {
// return new KarafDistributionConfigurationOption(framewo... | import static junit.framework.Assert.assertTrue;
import static org.openengsb.labs.paxexam.karaf.options.KarafDistributionOption.karafDistributionConfiguration;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.ops4j.pax.exam.Option;
import org.ops4j.pax.exam.junit.Configuration;
import org.ops4j.pax.ex... | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | // Path: options/src/main/java/org/openengsb/labs/paxexam/karaf/options/KarafDistributionOption.java
// public static KarafDistributionBaseConfigurationOption karafDistributionConfiguration(String frameworkURL,
// String name, String karafVersion) {
// return new KarafDistributionConfigurationOption(framewo... | return new Option[]{ karafDistributionConfiguration("mvn:org.apache.karaf/apache-karaf/2.2.5/zip", "karaf", |
openengsb-attic/labs-paxexam-karaf | regression/src/test/java/org/openengsb/labs/paxexam/karaf/regression/BaseKarafDefaultFrameworkKeepFolderTest.java | // Path: options/src/main/java/org/openengsb/labs/paxexam/karaf/options/KarafDistributionOption.java
// public static KarafDistributionBaseConfigurationOption karafDistributionConfiguration(String frameworkURL,
// String name, String karafVersion) {
// return new KarafDistributionConfigurationOption(framewo... | import static junit.framework.Assert.assertTrue;
import static org.openengsb.labs.paxexam.karaf.options.KarafDistributionOption.karafDistributionConfiguration;
import static org.openengsb.labs.paxexam.karaf.options.KarafDistributionOption.keepRuntimeFolder;
import java.io.File;
import org.junit.Test;
import org.junit.r... | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | // Path: options/src/main/java/org/openengsb/labs/paxexam/karaf/options/KarafDistributionOption.java
// public static KarafDistributionBaseConfigurationOption karafDistributionConfiguration(String frameworkURL,
// String name, String karafVersion) {
// return new KarafDistributionConfigurationOption(framewo... | return new Option[]{ karafDistributionConfiguration("mvn:org.apache.karaf/apache-karaf/2.2.5/zip", "karaf", |
openengsb-attic/labs-paxexam-karaf | regression/src/test/java/org/openengsb/labs/paxexam/karaf/regression/BaseKarafDefaultFrameworkKeepFolderTest.java | // Path: options/src/main/java/org/openengsb/labs/paxexam/karaf/options/KarafDistributionOption.java
// public static KarafDistributionBaseConfigurationOption karafDistributionConfiguration(String frameworkURL,
// String name, String karafVersion) {
// return new KarafDistributionConfigurationOption(framewo... | import static junit.framework.Assert.assertTrue;
import static org.openengsb.labs.paxexam.karaf.options.KarafDistributionOption.karafDistributionConfiguration;
import static org.openengsb.labs.paxexam.karaf.options.KarafDistributionOption.keepRuntimeFolder;
import java.io.File;
import org.junit.Test;
import org.junit.r... | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | // Path: options/src/main/java/org/openengsb/labs/paxexam/karaf/options/KarafDistributionOption.java
// public static KarafDistributionBaseConfigurationOption karafDistributionConfiguration(String frameworkURL,
// String name, String karafVersion) {
// return new KarafDistributionConfigurationOption(framewo... | "2.2.5").unpackDirectory(new File("target/paxexam/unpack/")), keepRuntimeFolder() }; |
openengsb-attic/labs-paxexam-karaf | container/src/main/java/org/openengsb/labs/paxexam/karaf/container/internal/InternalKarafDistributionConfigurationOption.java | // Path: options/src/main/java/org/openengsb/labs/paxexam/karaf/options/KarafDistributionBaseConfigurationOption.java
// public class KarafDistributionBaseConfigurationOption implements Option {
//
// protected String frameworkURL;
// protected MavenUrlReference frameworkURLReference;
// protected String n... | import java.io.File;
import java.io.FileInputStream;
import java.util.Properties;
import org.openengsb.labs.paxexam.karaf.options.KarafDistributionBaseConfigurationOption;
import org.openengsb.labs.paxexam.karaf.options.KarafDistributionConfigurationOption; | package org.openengsb.labs.paxexam.karaf.container.internal;
/**
* Extends the {@link KarafDistributionConfigurationOption} to add functionality to store those values also in a
* distribution.info file in the distirbution.
*/
public class InternalKarafDistributionConfigurationOption extends KarafDistributionConfi... | // Path: options/src/main/java/org/openengsb/labs/paxexam/karaf/options/KarafDistributionBaseConfigurationOption.java
// public class KarafDistributionBaseConfigurationOption implements Option {
//
// protected String frameworkURL;
// protected MavenUrlReference frameworkURLReference;
// protected String n... | KarafDistributionBaseConfigurationOption distributionConfigurationOption, File distributionInfo) { |
openengsb-attic/labs-paxexam-karaf | regression/src/test/java/org/openengsb/labs/paxexam/karaf/regression/BaseKarafDefaultFrameworkDuplicatedPropertyEntryFromFileTest.java | // Path: options/src/main/java/org/openengsb/labs/paxexam/karaf/options/KarafDistributionOption.java
// public static Option editConfigurationFileExtend(String configurationFilePath, String key, String value) {
// return new KarafDistributionConfigurationFileExtendOption(configurationFilePath, key, value);
// }
// ... | import org.ops4j.pax.exam.Option;
import org.ops4j.pax.exam.junit.Configuration;
import org.ops4j.pax.exam.junit.ExamReactorStrategy;
import org.ops4j.pax.exam.junit.JUnit4TestRunner;
import org.ops4j.pax.exam.spi.reactors.AllConfinedStagedReactorFactory;
import org.osgi.framework.BundleContext;
import org.osgi.framewo... | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | // Path: options/src/main/java/org/openengsb/labs/paxexam/karaf/options/KarafDistributionOption.java
// public static Option editConfigurationFileExtend(String configurationFilePath, String key, String value) {
// return new KarafDistributionConfigurationFileExtendOption(configurationFilePath, key, value);
// }
// ... | new Option[]{ karafDistributionConfiguration().frameworkUrl( |
openengsb-attic/labs-paxexam-karaf | regression/src/test/java/org/openengsb/labs/paxexam/karaf/regression/BaseKarafDefaultFrameworkDuplicatedPropertyEntryFromFileTest.java | // Path: options/src/main/java/org/openengsb/labs/paxexam/karaf/options/KarafDistributionOption.java
// public static Option editConfigurationFileExtend(String configurationFilePath, String key, String value) {
// return new KarafDistributionConfigurationFileExtendOption(configurationFilePath, key, value);
// }
// ... | import org.ops4j.pax.exam.Option;
import org.ops4j.pax.exam.junit.Configuration;
import org.ops4j.pax.exam.junit.ExamReactorStrategy;
import org.ops4j.pax.exam.junit.JUnit4TestRunner;
import org.ops4j.pax.exam.spi.reactors.AllConfinedStagedReactorFactory;
import org.osgi.framework.BundleContext;
import org.osgi.framewo... | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | // Path: options/src/main/java/org/openengsb/labs/paxexam/karaf/options/KarafDistributionOption.java
// public static Option editConfigurationFileExtend(String configurationFilePath, String key, String value) {
// return new KarafDistributionConfigurationFileExtendOption(configurationFilePath, key, value);
// }
// ... | editConfigurationFileExtend("etc/tests.cfg", new File( |
openengsb-attic/labs-paxexam-karaf | container/src/main/java/org/openengsb/labs/paxexam/karaf/container/internal/examAdaptions/ExamFeaturesFileFactory.java | // Path: container/src/main/java/org/openengsb/labs/paxexam/karaf/container/internal/Constants.java
// public interface Constants {
//
// static final String FEATURES_CFG_LOCATION = "/etc/org.apache.karaf.features.cfg";
//
// static final int SYSTEM_BUNDLE = 0;
//
// static final int DEFAULT_START_LEVEL ... | import org.openengsb.labs.paxexam.karaf.container.internal.Constants;
import org.openengsb.labs.paxexam.karaf.container.internal.util.NormalisedMavenVersionAdapter;
import org.ops4j.pax.exam.Info;
import org.osgi.framework.Version; | package org.openengsb.labs.paxexam.karaf.container.internal.examAdaptions;
/**
* Factory to create a features.xml file meeting the currently used pax-exam version.
*/
public final class ExamFeaturesFileFactory {
private ExamFeaturesFileFactory() {
// Not required for a final class
}
public sta... | // Path: container/src/main/java/org/openengsb/labs/paxexam/karaf/container/internal/Constants.java
// public interface Constants {
//
// static final String FEATURES_CFG_LOCATION = "/etc/org.apache.karaf.features.cfg";
//
// static final int SYSTEM_BUNDLE = 0;
//
// static final int DEFAULT_START_LEVEL ... | return createExamFeaturesFile("", Constants.DEFAULT_START_LEVEL); |
openengsb-attic/labs-paxexam-karaf | container/src/main/java/org/openengsb/labs/paxexam/karaf/container/internal/examAdaptions/ExamFeaturesFileFactory.java | // Path: container/src/main/java/org/openengsb/labs/paxexam/karaf/container/internal/Constants.java
// public interface Constants {
//
// static final String FEATURES_CFG_LOCATION = "/etc/org.apache.karaf.features.cfg";
//
// static final int SYSTEM_BUNDLE = 0;
//
// static final int DEFAULT_START_LEVEL ... | import org.openengsb.labs.paxexam.karaf.container.internal.Constants;
import org.openengsb.labs.paxexam.karaf.container.internal.util.NormalisedMavenVersionAdapter;
import org.ops4j.pax.exam.Info;
import org.osgi.framework.Version; | package org.openengsb.labs.paxexam.karaf.container.internal.examAdaptions;
/**
* Factory to create a features.xml file meeting the currently used pax-exam version.
*/
public final class ExamFeaturesFileFactory {
private ExamFeaturesFileFactory() {
// Not required for a final class
}
public sta... | // Path: container/src/main/java/org/openengsb/labs/paxexam/karaf/container/internal/Constants.java
// public interface Constants {
//
// static final String FEATURES_CFG_LOCATION = "/etc/org.apache.karaf.features.cfg";
//
// static final int SYSTEM_BUNDLE = 0;
//
// static final int DEFAULT_START_LEVEL ... | return new NormalisedMavenVersionAdapter(Info.getPaxExamVersion()); |
openengsb-attic/labs-paxexam-karaf | regression/src/test/java/org/openengsb/labs/paxexam/karaf/regression/VersionAsInProjectOpenEngSBTest.java | // Path: options/src/main/java/org/openengsb/labs/paxexam/karaf/options/KarafDistributionOption.java
// public static KarafDistributionBaseConfigurationOption karafDistributionConfiguration(String frameworkURL,
// String name, String karafVersion) {
// return new KarafDistributionConfigurationOption(framewo... | import static junit.framework.Assert.assertTrue;
import static org.openengsb.labs.paxexam.karaf.options.KarafDistributionOption.karafDistributionConfiguration;
import static org.ops4j.pax.exam.CoreOptions.maven;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.ops4j.pax.exam.Option;
import org.ops4j.p... | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | // Path: options/src/main/java/org/openengsb/labs/paxexam/karaf/options/KarafDistributionOption.java
// public static KarafDistributionBaseConfigurationOption karafDistributionConfiguration(String frameworkURL,
// String name, String karafVersion) {
// return new KarafDistributionConfigurationOption(framewo... | return new Option[]{ karafDistributionConfiguration().frameworkUrl( |
fauu/HelixEngine | core/src/com/github/fauu/helix/datum/Tile.java | // Path: core/src/com/github/fauu/helix/TilePermission.java
// public enum TilePermission {
//
// OBSTACLE("Obstacle", -1),
// PASSAGE("Area Passage", -1),
// RAMP("Ramp", -1),
// LEVEL0("Level 0", 0),
// LEVEL1("Level 1", 1),
// LEVEL2("Level 2", 2),
// LEVEL3("Level 3", 3),
// LEVEL4("Level 4", 4),
/... | import com.github.fauu.helix.util.IntVector2;
import com.github.fauu.helix.TilePermission; | /*
* Copyright (C) 2014-2016 Helix Engine Developers
* (http://github.com/fauu/HelixEngine)
*
* This software is licensed under the GNU General Public License
* (version 3 or later). See the COPYING file in this distribution.
*
* You should have received a copy of the GNU Library General Public License
* along... | // Path: core/src/com/github/fauu/helix/TilePermission.java
// public enum TilePermission {
//
// OBSTACLE("Obstacle", -1),
// PASSAGE("Area Passage", -1),
// RAMP("Ramp", -1),
// LEVEL0("Level 0", 0),
// LEVEL1("Level 1", 1),
// LEVEL2("Level 2", 2),
// LEVEL3("Level 3", 3),
// LEVEL4("Level 4", 4),
/... | public static Tile get(Tile[][] tiles, IntVector2 coords) { |
fauu/HelixEngine | editor/src/com/github/fauu/helix/editor/manager/CameraIntermediary.java | // Path: core/src/com/github/fauu/helix/component/DimensionsComponent.java
// public class DimensionsComponent extends Component {
//
// private IntVector2 dimensions;
//
// public DimensionsComponent() {
// this.dimensions = new IntVector2();
// }
//
// public DimensionsComponent(IntVector2 dimens... | import com.artemis.ComponentMapper;
import com.artemis.Entity;
import com.artemis.Manager;
import com.artemis.annotations.Wire;
import com.artemis.managers.TagManager;
import com.badlogic.gdx.math.Vector3;
import com.github.fauu.helix.component.DimensionsComponent;
import com.github.fauu.helix.graphics.HelixCamera;
imp... | /*
* Copyright (C) 2014-2016 Helix Engine Developers
* (http://github.com/fauu/HelixEngine)
*
* This software is licensed under the GNU General Public License
* (version 3 or later). See the COPYING file in this distribution.
*
* You should have received a copy of the GNU Library General Public License
* along ... | // Path: core/src/com/github/fauu/helix/component/DimensionsComponent.java
// public class DimensionsComponent extends Component {
//
// private IntVector2 dimensions;
//
// public DimensionsComponent() {
// this.dimensions = new IntVector2();
// }
//
// public DimensionsComponent(IntVector2 dimens... | private ComponentMapper<DimensionsComponent> dimensionsMapper; |
fauu/HelixEngine | editor/src/com/github/fauu/helix/editor/manager/CameraIntermediary.java | // Path: core/src/com/github/fauu/helix/component/DimensionsComponent.java
// public class DimensionsComponent extends Component {
//
// private IntVector2 dimensions;
//
// public DimensionsComponent() {
// this.dimensions = new IntVector2();
// }
//
// public DimensionsComponent(IntVector2 dimens... | import com.artemis.ComponentMapper;
import com.artemis.Entity;
import com.artemis.Manager;
import com.artemis.annotations.Wire;
import com.artemis.managers.TagManager;
import com.badlogic.gdx.math.Vector3;
import com.github.fauu.helix.component.DimensionsComponent;
import com.github.fauu.helix.graphics.HelixCamera;
imp... | /*
* Copyright (C) 2014-2016 Helix Engine Developers
* (http://github.com/fauu/HelixEngine)
*
* This software is licensed under the GNU General Public License
* (version 3 or later). See the COPYING file in this distribution.
*
* You should have received a copy of the GNU Library General Public License
* along ... | // Path: core/src/com/github/fauu/helix/component/DimensionsComponent.java
// public class DimensionsComponent extends Component {
//
// private IntVector2 dimensions;
//
// public DimensionsComponent() {
// this.dimensions = new IntVector2();
// }
//
// public DimensionsComponent(IntVector2 dimens... | private HelixCamera camera; |
fauu/HelixEngine | editor/src/com/github/fauu/helix/editor/manager/CameraIntermediary.java | // Path: core/src/com/github/fauu/helix/component/DimensionsComponent.java
// public class DimensionsComponent extends Component {
//
// private IntVector2 dimensions;
//
// public DimensionsComponent() {
// this.dimensions = new IntVector2();
// }
//
// public DimensionsComponent(IntVector2 dimens... | import com.artemis.ComponentMapper;
import com.artemis.Entity;
import com.artemis.Manager;
import com.artemis.annotations.Wire;
import com.artemis.managers.TagManager;
import com.badlogic.gdx.math.Vector3;
import com.github.fauu.helix.component.DimensionsComponent;
import com.github.fauu.helix.graphics.HelixCamera;
imp... | /*
* Copyright (C) 2014-2016 Helix Engine Developers
* (http://github.com/fauu/HelixEngine)
*
* This software is licensed under the GNU General Public License
* (version 3 or later). See the COPYING file in this distribution.
*
* You should have received a copy of the GNU Library General Public License
* along ... | // Path: core/src/com/github/fauu/helix/component/DimensionsComponent.java
// public class DimensionsComponent extends Component {
//
// private IntVector2 dimensions;
//
// public DimensionsComponent() {
// this.dimensions = new IntVector2();
// }
//
// public DimensionsComponent(IntVector2 dimens... | IntVector2 dimensions = dimensionsMapper.get(area).get(); |
fauu/HelixEngine | editor/src/com/github/fauu/helix/editor/ui/HEMenuBar.java | // Path: editor/src/com/github/fauu/helix/editor/HelixEditor.java
// public class HelixEditor extends Game {
//
// private static HelixEditor instance;
//
// private EventBus uiEventBus;
//
// private EventBus worldEventBus;
//
// private UI ui;
//
// private TilePassageAreaListState tilePassageAreaListS... | import com.badlogic.gdx.Input;
import com.badlogic.gdx.scenes.scene2d.Actor;
import com.badlogic.gdx.scenes.scene2d.Stage;
import com.badlogic.gdx.scenes.scene2d.utils.ChangeListener;
import com.github.fauu.helix.editor.HelixEditor;
import com.kotcrab.vis.ui.widget.Menu;
import com.kotcrab.vis.ui.widget.MenuBar;
import... | /*
* Copyright (C) 2014-2016 Helix Engine Developers
* (http://github.com/fauu/HelixEngine)
*
* This software is licensed under the GNU General Public License
* (version 3 or later). See the COPYING file in this distribution.
*
* You should have received a copy of the GNU Library General Public License
* along... | // Path: editor/src/com/github/fauu/helix/editor/HelixEditor.java
// public class HelixEditor extends Game {
//
// private static HelixEditor instance;
//
// private EventBus uiEventBus;
//
// private EventBus worldEventBus;
//
// private UI ui;
//
// private TilePassageAreaListState tilePassageAreaListS... | HelixEditor.getInstance().newAreaAction(); |
fauu/HelixEngine | core/src/com/github/fauu/helix/system/AnimationProcessingSystem.java | // Path: core/src/com/github/fauu/helix/component/DisplayableComponent.java
// public class DisplayableComponent extends Component {
//
// private Displayable displayable;
//
// public DisplayableComponent() { }
//
// public DisplayableComponent(Displayable displayable) {
// this();
//
// set(disp... | import com.artemis.Aspect;
import com.artemis.ComponentMapper;
import com.artemis.Entity;
import com.artemis.annotations.Wire;
import com.artemis.systems.EntityProcessingSystem;
import com.badlogic.gdx.Gdx;
import com.github.fauu.helix.component.DisplayableComponent;
import com.github.fauu.helix.displayable.Displayable... | /*
* Copyright (C) 2014-2016 Helix Engine Developers
* (http://github.com/fauu/HelixEngine)
*
* This software is licensed under the GNU General Public License
* (version 3 or later). See the COPYING file in this distribution.
*
* You should have received a copy of the GNU Library General Public License
* along ... | // Path: core/src/com/github/fauu/helix/component/DisplayableComponent.java
// public class DisplayableComponent extends Component {
//
// private Displayable displayable;
//
// public DisplayableComponent() { }
//
// public DisplayableComponent(Displayable displayable) {
// this();
//
// set(disp... | private ComponentMapper<DisplayableComponent> displayableMapper; |
fauu/HelixEngine | core/src/com/github/fauu/helix/system/AnimationProcessingSystem.java | // Path: core/src/com/github/fauu/helix/component/DisplayableComponent.java
// public class DisplayableComponent extends Component {
//
// private Displayable displayable;
//
// public DisplayableComponent() { }
//
// public DisplayableComponent(Displayable displayable) {
// this();
//
// set(disp... | import com.artemis.Aspect;
import com.artemis.ComponentMapper;
import com.artemis.Entity;
import com.artemis.annotations.Wire;
import com.artemis.systems.EntityProcessingSystem;
import com.badlogic.gdx.Gdx;
import com.github.fauu.helix.component.DisplayableComponent;
import com.github.fauu.helix.displayable.Displayable... | /*
* Copyright (C) 2014-2016 Helix Engine Developers
* (http://github.com/fauu/HelixEngine)
*
* This software is licensed under the GNU General Public License
* (version 3 or later). See the COPYING file in this distribution.
*
* You should have received a copy of the GNU Library General Public License
* along ... | // Path: core/src/com/github/fauu/helix/component/DisplayableComponent.java
// public class DisplayableComponent extends Component {
//
// private Displayable displayable;
//
// public DisplayableComponent() { }
//
// public DisplayableComponent(Displayable displayable) {
// this();
//
// set(disp... | Displayable displayable = displayableMapper.get(e).get(); |
fauu/HelixEngine | core/src/com/github/fauu/helix/system/AnimationProcessingSystem.java | // Path: core/src/com/github/fauu/helix/component/DisplayableComponent.java
// public class DisplayableComponent extends Component {
//
// private Displayable displayable;
//
// public DisplayableComponent() { }
//
// public DisplayableComponent(Displayable displayable) {
// this();
//
// set(disp... | import com.artemis.Aspect;
import com.artemis.ComponentMapper;
import com.artemis.Entity;
import com.artemis.annotations.Wire;
import com.artemis.systems.EntityProcessingSystem;
import com.badlogic.gdx.Gdx;
import com.github.fauu.helix.component.DisplayableComponent;
import com.github.fauu.helix.displayable.Displayable... | /*
* Copyright (C) 2014-2016 Helix Engine Developers
* (http://github.com/fauu/HelixEngine)
*
* This software is licensed under the GNU General Public License
* (version 3 or later). See the COPYING file in this distribution.
*
* You should have received a copy of the GNU Library General Public License
* along ... | // Path: core/src/com/github/fauu/helix/component/DisplayableComponent.java
// public class DisplayableComponent extends Component {
//
// private Displayable displayable;
//
// public DisplayableComponent() { }
//
// public DisplayableComponent(Displayable displayable) {
// this();
//
// set(disp... | if (displayable instanceof ModelDisplayable) { |
fauu/HelixEngine | core/src/com/github/fauu/helix/datum/TileAreaPassage.java | // Path: core/src/com/github/fauu/helix/util/IntVector2.java
// public class IntVector2 {
//
// public int x;
//
// public int y;
//
// public IntVector2() { }
//
// public IntVector2(int x, int y) {
// set(x, y);
// }
//
// public IntVector2(IntVector2 source) {
// set(source);
// }
//
// ... | import com.github.fauu.helix.util.IntVector2; | /*
* Copyright (C) 2014-2016 Helix Engine Developers
* (http://github.com/fauu/HelixEngine)
*
* This software is licensed under the GNU General Public License
* (version 3 or later). See the COPYING file in this distribution.
*
* You should have received a copy of the GNU Library General Public License
* along ... | // Path: core/src/com/github/fauu/helix/util/IntVector2.java
// public class IntVector2 {
//
// public int x;
//
// public int y;
//
// public IntVector2() { }
//
// public IntVector2(int x, int y) {
// set(x, y);
// }
//
// public IntVector2(IntVector2 source) {
// set(source);
// }
//
// ... | private IntVector2 targetCoords; |
fauu/HelixEngine | core/src/com/github/fauu/helix/graphics/HelixCamera.java | // Path: core/src/com/github/fauu/helix/util/IntVector3.java
// public class IntVector3 {
//
// public int x;
//
// public int y;
//
// public int z;
//
// public IntVector3() { }
//
// public IntVector3(int x, int y, int z) {
// set(x, y, z);
// }
//
// public IntVector3(IntVector2 source) {
//... | import com.badlogic.gdx.graphics.PerspectiveCamera;
import com.badlogic.gdx.math.Vector3;
import com.github.fauu.helix.util.IntVector3;
import com.badlogic.gdx.Gdx; | }
public HelixCamera(float fieldOfView,
Vector3 targetPosition,
float near,
float far) {
super(fieldOfView, Gdx.graphics.getWidth(), Gdx.graphics.getHeight());
this.targetPosition = new Vector3();
this.near = near;
this.far = far;
... | // Path: core/src/com/github/fauu/helix/util/IntVector3.java
// public class IntVector3 {
//
// public int x;
//
// public int y;
//
// public int z;
//
// public IntVector3() { }
//
// public IntVector3(int x, int y, int z) {
// set(x, y, z);
// }
//
// public IntVector3(IntVector2 source) {
//... | public void updateTargetPosition(IntVector3 logicalPosition) { |
fauu/HelixEngine | core/src/com/github/fauu/helix/system/ScreenFadingSystem.java | // Path: core/src/com/github/fauu/helix/graphics/HelixCamera.java
// public class HelixCamera extends PerspectiveCamera {
//
// private static final Vector3 INITIAL_POSITION;
//
// private static final float POSITION_Y_TO_Z_RATIO;
//
// private static final Vector3 DEFAULT_TARGET_DISPLACEMENT;
//
// private... | import com.artemis.annotations.Wire;
import com.artemis.systems.VoidEntitySystem;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.graphics.GL20;
import com.badlogic.gdx.graphics.glutils.ShapeRenderer;
import com.github.fauu.helix.graphics.HelixCamera; | /*
* Copyright (C) 2014-2016 Helix Engine Developers
* (http://github.com/fauu/HelixEngine)
*
* This software is licensed under the GNU General Public License
* (version 3 or later). See the COPYING file in this distribution.
*
* You should have received a copy of the GNU Library General Public License
* along ... | // Path: core/src/com/github/fauu/helix/graphics/HelixCamera.java
// public class HelixCamera extends PerspectiveCamera {
//
// private static final Vector3 INITIAL_POSITION;
//
// private static final float POSITION_Y_TO_Z_RATIO;
//
// private static final Vector3 DEFAULT_TARGET_DISPLACEMENT;
//
// private... | private HelixCamera camera; |
fauu/HelixEngine | editor/src/com/github/fauu/helix/editor/ui/dialog/NewAreaDialog.java | // Path: editor/src/com/github/fauu/helix/editor/HelixEditor.java
// public class HelixEditor extends Game {
//
// private static HelixEditor instance;
//
// private EventBus uiEventBus;
//
// private EventBus worldEventBus;
//
// private UI ui;
//
// private TilePassageAreaListState tilePassageAreaListS... | import com.badlogic.gdx.scenes.scene2d.Actor;
import com.badlogic.gdx.scenes.scene2d.utils.ChangeListener;
import com.github.fauu.helix.editor.HelixEditor;
import com.kotcrab.vis.ui.widget.VisTable;
import com.kotcrab.vis.ui.widget.VisLabel;
import com.kotcrab.vis.ui.widget.VisTextButton;
import com.kotcrab.vis.ui.widg... | fieldsetContainer.add(widthField);
fieldsetContainer.add(new VisLabel("x"));
final VisTextField lengthField = new VisTextField("48");
lengthField.setMaxLength(3);
fieldsetContainer.add(lengthField);
fieldsetContainer.row();
// TODO: Get rid of magic numbers. Here, there and everywhere.
... | // Path: editor/src/com/github/fauu/helix/editor/HelixEditor.java
// public class HelixEditor extends Game {
//
// private static HelixEditor instance;
//
// private EventBus uiEventBus;
//
// private EventBus worldEventBus;
//
// private UI ui;
//
// private TilePassageAreaListState tilePassageAreaListS... | HelixEditor.getInstance().closeCurrentAreaAction(); |
fauu/HelixEngine | editor/src/com/github/fauu/helix/editor/state/ToolbarState.java | // Path: editor/src/com/github/fauu/helix/editor/HelixEditor.java
// public class HelixEditor extends Game {
//
// private static HelixEditor instance;
//
// private EventBus uiEventBus;
//
// private EventBus worldEventBus;
//
// private UI ui;
//
// private TilePassageAreaListState tilePassageAreaListS... | import com.github.fauu.helix.editor.ToolType;
import com.github.fauu.helix.editor.event.ToolbarStateChangedEvent;
import com.github.fauu.helix.editor.HelixEditor; | /*
* Copyright (C) 2014-2016 Helix Engine Developers
* (http://github.com/fauu/HelixEngine)
*
* This software is licensed under the GNU General Public License
* (version 3 or later). See the COPYING file in this distribution.
*
* You should have received a copy of the GNU Library General Public License
* along ... | // Path: editor/src/com/github/fauu/helix/editor/HelixEditor.java
// public class HelixEditor extends Game {
//
// private static HelixEditor instance;
//
// private EventBus uiEventBus;
//
// private EventBus worldEventBus;
//
// private UI ui;
//
// private TilePassageAreaListState tilePassageAreaListS... | HelixEditor.getInstance() |
fauu/HelixEngine | editor/src/com/github/fauu/helix/editor/state/ToolbarState.java | // Path: editor/src/com/github/fauu/helix/editor/HelixEditor.java
// public class HelixEditor extends Game {
//
// private static HelixEditor instance;
//
// private EventBus uiEventBus;
//
// private EventBus worldEventBus;
//
// private UI ui;
//
// private TilePassageAreaListState tilePassageAreaListS... | import com.github.fauu.helix.editor.ToolType;
import com.github.fauu.helix.editor.event.ToolbarStateChangedEvent;
import com.github.fauu.helix.editor.HelixEditor; | /*
* Copyright (C) 2014-2016 Helix Engine Developers
* (http://github.com/fauu/HelixEngine)
*
* This software is licensed under the GNU General Public License
* (version 3 or later). See the COPYING file in this distribution.
*
* You should have received a copy of the GNU Library General Public License
* along ... | // Path: editor/src/com/github/fauu/helix/editor/HelixEditor.java
// public class HelixEditor extends Game {
//
// private static HelixEditor instance;
//
// private EventBus uiEventBus;
//
// private EventBus worldEventBus;
//
// private UI ui;
//
// private TilePassageAreaListState tilePassageAreaListS... | .post(new ToolbarStateChangedEvent(type)); |
fauu/HelixEngine | editor/src/com/github/fauu/helix/editor/state/TilePassageAreaListState.java | // Path: editor/src/com/github/fauu/helix/editor/HelixEditor.java
// public class HelixEditor extends Game {
//
// private static HelixEditor instance;
//
// private EventBus uiEventBus;
//
// private EventBus worldEventBus;
//
// private UI ui;
//
// private TilePassageAreaListState tilePassageAreaListS... | import com.github.fauu.helix.editor.HelixEditor;
import com.github.fauu.helix.editor.event.TilePassageAreaListStateChangedEvent;
import com.badlogic.gdx.utils.Array; | /*
* Copyright (C) 2014-2016 Helix Engine Developers
* (http://github.com/fauu/HelixEngine)
*
* This software is licensed under the GNU General Public License
* (version 3 or later). See the COPYING file in this distribution.
*
* You should have received a copy of the GNU Library General Public License
* along ... | // Path: editor/src/com/github/fauu/helix/editor/HelixEditor.java
// public class HelixEditor extends Game {
//
// private static HelixEditor instance;
//
// private EventBus uiEventBus;
//
// private EventBus worldEventBus;
//
// private UI ui;
//
// private TilePassageAreaListState tilePassageAreaListS... | HelixEditor.getInstance() |
fauu/HelixEngine | editor/src/com/github/fauu/helix/editor/state/TilePassageAreaListState.java | // Path: editor/src/com/github/fauu/helix/editor/HelixEditor.java
// public class HelixEditor extends Game {
//
// private static HelixEditor instance;
//
// private EventBus uiEventBus;
//
// private EventBus worldEventBus;
//
// private UI ui;
//
// private TilePassageAreaListState tilePassageAreaListS... | import com.github.fauu.helix.editor.HelixEditor;
import com.github.fauu.helix.editor.event.TilePassageAreaListStateChangedEvent;
import com.badlogic.gdx.utils.Array; | /*
* Copyright (C) 2014-2016 Helix Engine Developers
* (http://github.com/fauu/HelixEngine)
*
* This software is licensed under the GNU General Public License
* (version 3 or later). See the COPYING file in this distribution.
*
* You should have received a copy of the GNU Library General Public License
* along ... | // Path: editor/src/com/github/fauu/helix/editor/HelixEditor.java
// public class HelixEditor extends Game {
//
// private static HelixEditor instance;
//
// private EventBus uiEventBus;
//
// private EventBus worldEventBus;
//
// private UI ui;
//
// private TilePassageAreaListState tilePassageAreaListS... | .post(new TilePassageAreaListStateChangedEvent(this)); |
fauu/HelixEngine | core/src/com/github/fauu/helix/json/wrapper/AreaWrapper.java | // Path: core/src/com/github/fauu/helix/AreaType.java
// public enum AreaType {
//
// INDOOR,
// OUTDOOR
//
// }
| import java.util.ArrayList;
import com.github.fauu.helix.AreaType; | /*
* Copyright (C) 2014-2016 Helix Engine Developers
* (http://github.com/fauu/HelixEngine)
*
* This software is licensed under the GNU General Public License
* (version 3 or later). See the COPYING file in this distribution.
*
* You should have received a copy of the GNU Library General Public License
* along... | // Path: core/src/com/github/fauu/helix/AreaType.java
// public enum AreaType {
//
// INDOOR,
// OUTDOOR
//
// }
// Path: core/src/com/github/fauu/helix/json/wrapper/AreaWrapper.java
import java.util.ArrayList;
import com.github.fauu.helix.AreaType;
/*
* Copyright (C) 2014-2016 Helix Engine Developers
* (ht... | public AreaType type; |
fauu/HelixEngine | editor/src/com/github/fauu/helix/editor/displayable/TilePermissionsGridDisplayable.java | // Path: core/src/com/github/fauu/helix/datum/Tile.java
// public class Tile {
//
// private TilePermission permissions;
//
// private TileAreaPassage areaPassage;
//
// public Tile() {
// setPermissions(TilePermission.LEVEL0);
// }
//
// public TilePermission getPermissions() {
// return permissi... | import java.util.Map;
import com.badlogic.gdx.graphics.GL20;
import com.badlogic.gdx.graphics.Mesh;
import com.badlogic.gdx.graphics.VertexAttributes;
import com.badlogic.gdx.graphics.g2d.TextureAtlas;
import com.badlogic.gdx.graphics.g2d.TextureRegion;
import com.badlogic.gdx.graphics.g3d.Material;
import com.badlogic... | /*
* Copyright (C) 2014-2016 Helix Engine Developers
* (http://github.com/fauu/HelixEngine)
*
* This software is licensed under the GNU General Public License
* (version 3 or later). See the COPYING file in this distribution.
*
* You should have received a copy of the GNU Library General Public License
* along ... | // Path: core/src/com/github/fauu/helix/datum/Tile.java
// public class Tile {
//
// private TilePermission permissions;
//
// private TileAreaPassage areaPassage;
//
// public Tile() {
// setPermissions(TilePermission.LEVEL0);
// }
//
// public TilePermission getPermissions() {
// return permissi... | public TilePermissionsGridDisplayable(Tile[][] tiles, TextureAtlas atlas) { |
fauu/HelixEngine | editor/src/com/github/fauu/helix/editor/ui/HEToolbox.java | // Path: editor/src/com/github/fauu/helix/editor/HelixEditor.java
// public class HelixEditor extends Game {
//
// private static HelixEditor instance;
//
// private EventBus uiEventBus;
//
// private EventBus worldEventBus;
//
// private UI ui;
//
// private TilePassageAreaListState tilePassageAreaListS... | import com.badlogic.gdx.scenes.scene2d.Actor;
import com.badlogic.gdx.scenes.scene2d.ui.Button;
import com.badlogic.gdx.scenes.scene2d.ui.ButtonGroup;
import com.badlogic.gdx.scenes.scene2d.utils.ChangeListener;
import com.github.fauu.helix.editor.HelixEditor;
import com.github.fauu.helix.editor.ToolType;
import com.ko... | /*
* Copyright (C) 2014-2016 Helix Engine Developers
* (http://github.com/fauu/HelixEngine)
*
* This software is licensed under the GNU General Public License
* (version 3 or later). See the COPYING file in this distribution.
*
* You should have received a copy of the GNU Library General Public License
* along ... | // Path: editor/src/com/github/fauu/helix/editor/HelixEditor.java
// public class HelixEditor extends Game {
//
// private static HelixEditor instance;
//
// private EventBus uiEventBus;
//
// private EventBus worldEventBus;
//
// private UI ui;
//
// private TilePassageAreaListState tilePassageAreaListS... | for (final ToolType type : ToolType.values()) { |
fauu/HelixEngine | core/src/com/github/fauu/helix/screen/Overworld.java | // Path: core/src/com/github/fauu/helix/graphics/HelixCamera.java
// public class HelixCamera extends PerspectiveCamera {
//
// private static final Vector3 INITIAL_POSITION;
//
// private static final float POSITION_Y_TO_Z_RATIO;
//
// private static final Vector3 DEFAULT_TARGET_DISPLACEMENT;
//
// private... | import com.artemis.World;
import com.artemis.WorldConfiguration;
import com.artemis.managers.GroupManager;
import com.artemis.managers.TagManager;
import com.artemis.managers.UuidEntityManager;
import com.badlogic.gdx.Screen;
import com.badlogic.gdx.assets.AssetManager;
import com.badlogic.gdx.math.Vector3;
import com.... | /*
* Copyright (C) 2014-2016 Helix Engine Developers
* (http://github.com/fauu/HelixEngine)
*
* This software is licensed under the GNU General Public License
* (version 3 or later). See the COPYING file in this distribution.
*
* You should have received a copy of the GNU Library General Public License
* along... | // Path: core/src/com/github/fauu/helix/graphics/HelixCamera.java
// public class HelixCamera extends PerspectiveCamera {
//
// private static final Vector3 INITIAL_POSITION;
//
// private static final float POSITION_Y_TO_Z_RATIO;
//
// private static final Vector3 DEFAULT_TARGET_DISPLACEMENT;
//
// private... | private HelixCamera camera; |
fauu/HelixEngine | core/src/com/github/fauu/helix/graphics/AnimationSet.java | // Path: core/src/com/github/fauu/helix/Direction.java
// public enum Direction {
//
// SOUTH(new IntVector2(0, -1)), SOUTHEAST(null),
// EAST(new IntVector2(1, 0)), NORTHEAST(null),
// NORTH(new IntVector2(0, 1)), NORTHWEST(null),
// WEST(new IntVector2(-1, 0)), SOUTHWEST(null);
//
// private IntVector2 ve... | import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.files.FileHandle;
import com.badlogic.gdx.graphics.Texture;
import com.badlogic.gdx.graphics.g2d.Animation;
import com.badlogic.gdx.graphics.g2d.TextureRegion;
import com.github.fauu.helix.Direction;
import java.util.EnumMap; | /*
* Copyright (C) 2014-2016 Helix Engine Developers
* (http://github.com/fauu/HelixEngine)
*
* This software is licensed under the GNU General Public License
* (version 3 or later). See the COPYING file in this distribution.
*
* You should have received a copy of the GNU Library General Public License
* along ... | // Path: core/src/com/github/fauu/helix/Direction.java
// public enum Direction {
//
// SOUTH(new IntVector2(0, -1)), SOUTHEAST(null),
// EAST(new IntVector2(1, 0)), NORTHEAST(null),
// NORTH(new IntVector2(0, 1)), NORTHWEST(null),
// WEST(new IntVector2(-1, 0)), SOUTHWEST(null);
//
// private IntVector2 ve... | private static final Direction[] DIRECTIONS; |
fauu/HelixEngine | core/src/com/github/fauu/helix/manager/PlayerManager.java | // Path: core/src/com/github/fauu/helix/Direction.java
// public enum Direction {
//
// SOUTH(new IntVector2(0, -1)), SOUTHEAST(null),
// EAST(new IntVector2(1, 0)), NORTHEAST(null),
// NORTH(new IntVector2(0, 1)), NORTHWEST(null),
// WEST(new IntVector2(-1, 0)), SOUTHWEST(null);
//
// private IntVector2 ve... | import com.artemis.Entity;
import com.artemis.Manager;
import com.artemis.annotations.Wire;
import com.badlogic.gdx.assets.AssetManager;
import com.badlogic.gdx.graphics.Texture;
import com.badlogic.gdx.graphics.g2d.TextureRegion;
import com.github.fauu.helix.Direction;
import com.github.fauu.helix.component.*;
import ... | /*
* Copyright (C) 2014-2016 Helix Engine Developers
* (http://github.com/fauu/HelixEngine)
*
* This software is licensed under the GNU General Public License
* (version 3 or later). See the COPYING file in this distribution.
*
* You should have received a copy of the GNU Library General Public License
* along ... | // Path: core/src/com/github/fauu/helix/Direction.java
// public enum Direction {
//
// SOUTH(new IntVector2(0, -1)), SOUTHEAST(null),
// EAST(new IntVector2(1, 0)), NORTHEAST(null),
// NORTH(new IntVector2(0, 1)), NORTHWEST(null),
// WEST(new IntVector2(-1, 0)), SOUTHWEST(null);
//
// private IntVector2 ve... | IntVector3 playerPosition = new IntVector3(16, 16, 0); |
fauu/HelixEngine | core/src/com/github/fauu/helix/manager/PlayerManager.java | // Path: core/src/com/github/fauu/helix/Direction.java
// public enum Direction {
//
// SOUTH(new IntVector2(0, -1)), SOUTHEAST(null),
// EAST(new IntVector2(1, 0)), NORTHEAST(null),
// NORTH(new IntVector2(0, 1)), NORTHWEST(null),
// WEST(new IntVector2(-1, 0)), SOUTHWEST(null);
//
// private IntVector2 ve... | import com.artemis.Entity;
import com.artemis.Manager;
import com.artemis.annotations.Wire;
import com.badlogic.gdx.assets.AssetManager;
import com.badlogic.gdx.graphics.Texture;
import com.badlogic.gdx.graphics.g2d.TextureRegion;
import com.github.fauu.helix.Direction;
import com.github.fauu.helix.component.*;
import ... | /*
* Copyright (C) 2014-2016 Helix Engine Developers
* (http://github.com/fauu/HelixEngine)
*
* This software is licensed under the GNU General Public License
* (version 3 or later). See the COPYING file in this distribution.
*
* You should have received a copy of the GNU Library General Public License
* along ... | // Path: core/src/com/github/fauu/helix/Direction.java
// public enum Direction {
//
// SOUTH(new IntVector2(0, -1)), SOUTHEAST(null),
// EAST(new IntVector2(1, 0)), NORTHEAST(null),
// NORTH(new IntVector2(0, 1)), NORTHWEST(null),
// WEST(new IntVector2(-1, 0)), SOUTHWEST(null);
//
// private IntVector2 ve... | Direction playerOrientation = Direction.SOUTH; |
fauu/HelixEngine | desktop/src/com/github/fauu/helix/desktop/DesktopLauncher.java | // Path: core/src/com/github/fauu/helix/HelixGame.java
// public class HelixGame extends Game {
//
// private static HelixGame instance;
//
// @Override
// public void create () {
// instance = this;
//
// setScreen(new Overworld());
// }
//
// public static HelixGame getInstance() {
// return... | import com.badlogic.gdx.backends.lwjgl.LwjglApplicationConfiguration;
import com.github.fauu.helix.HelixGame;
import com.badlogic.gdx.backends.lwjgl.LwjglApplication; | /*
* Copyright (C) 2014-2016 Helix Engine Developers
* (http://github.com/fauu/HelixEngine)
*
* This software is licensed under the GNU General Public License
* (version 3 or later). See the COPYING file in this distribution.
*
* You should have received a copy of the GNU Library General Public License
* along... | // Path: core/src/com/github/fauu/helix/HelixGame.java
// public class HelixGame extends Game {
//
// private static HelixGame instance;
//
// @Override
// public void create () {
// instance = this;
//
// setScreen(new Overworld());
// }
//
// public static HelixGame getInstance() {
// return... | new LwjglApplication(new HelixGame(), config); |
fauu/HelixEngine | editor/src/com/github/fauu/helix/editor/EditorDesktopLauncher.java | // Path: editor/src/com/github/fauu/helix/editor/HelixEditor.java
// public class HelixEditor extends Game {
//
// private static HelixEditor instance;
//
// private EventBus uiEventBus;
//
// private EventBus worldEventBus;
//
// private UI ui;
//
// private TilePassageAreaListState tilePassageAreaListS... | import com.badlogic.gdx.Application;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.backends.lwjgl.LwjglApplication;
import com.badlogic.gdx.backends.lwjgl.LwjglApplicationConfiguration;
import com.github.fauu.helix.editor.HelixEditor; | /*
* Copyright (C) 2014-2016 Helix Engine Developers
* (http://github.com/fauu/HelixEngine)
*
* This software is licensed under the GNU General Public License
* (version 3 or later). See the COPYING file in this distribution.
*
* You should have received a copy of the GNU Library General Public License
* along... | // Path: editor/src/com/github/fauu/helix/editor/HelixEditor.java
// public class HelixEditor extends Game {
//
// private static HelixEditor instance;
//
// private EventBus uiEventBus;
//
// private EventBus worldEventBus;
//
// private UI ui;
//
// private TilePassageAreaListState tilePassageAreaListS... | new LwjglApplication(new HelixEditor(), config); |
fauu/HelixEngine | core/src/com/github/fauu/helix/HelixGame.java | // Path: core/src/com/github/fauu/helix/screen/Overworld.java
// public class Overworld implements Screen {
//
// private World world;
//
// private HelixCamera camera;
//
// private AssetManager assetManager;
//
// public Overworld() {
// assetManager = new AssetManager();
//
// camera = new Helix... | import com.github.fauu.helix.screen.Overworld;
import com.badlogic.gdx.Game; | /*
* Copyright (C) 2014-2016 Helix Engine Developers
* (http://github.com/fauu/HelixEngine)
*
* This software is licensed under the GNU General Public License
* (version 3 or later). See the COPYING file in this distribution.
*
* You should have received a copy of the GNU Library General Public License
* along... | // Path: core/src/com/github/fauu/helix/screen/Overworld.java
// public class Overworld implements Screen {
//
// private World world;
//
// private HelixCamera camera;
//
// private AssetManager assetManager;
//
// public Overworld() {
// assetManager = new AssetManager();
//
// camera = new Helix... | setScreen(new Overworld()); |
fauu/HelixEngine | core/src/com/github/fauu/helix/displayable/DecalDisplayable.java | // Path: core/src/com/github/fauu/helix/Direction.java
// public enum Direction {
//
// SOUTH(new IntVector2(0, -1)), SOUTHEAST(null),
// EAST(new IntVector2(1, 0)), NORTHEAST(null),
// NORTH(new IntVector2(0, 1)), NORTHWEST(null),
// WEST(new IntVector2(-1, 0)), SOUTHWEST(null);
//
// private IntVector2 ve... | import com.badlogic.gdx.graphics.g3d.decals.Decal;
import com.badlogic.gdx.math.Vector2;
import com.badlogic.gdx.math.Vector3;
import com.github.fauu.helix.Direction;
import com.github.fauu.helix.graphics.AnimationType;
import com.github.fauu.helix.util.IntVector3; | DEFAULT_ROTATION = 45;
DEFAULT_DISPLACEMENT = new Vector3(.52f, .5f, 1.01f);
DEFAULT_SHADOW_DIMENSIONS = new Vector2(1, .8f);
DEFAULT_SHADOW_DISPLACEMENT = new Vector3(.03f, -.33f, -.96f);
}
public DecalDisplayable(Vector3 position) {
decals = new Decal[2];
this.position = position;
}
... | // Path: core/src/com/github/fauu/helix/Direction.java
// public enum Direction {
//
// SOUTH(new IntVector2(0, -1)), SOUTHEAST(null),
// EAST(new IntVector2(1, 0)), NORTHEAST(null),
// NORTH(new IntVector2(0, 1)), NORTHWEST(null),
// WEST(new IntVector2(-1, 0)), SOUTHWEST(null);
//
// private IntVector2 ve... | public abstract void animate(AnimationType type, |
fauu/HelixEngine | core/src/com/github/fauu/helix/displayable/DecalDisplayable.java | // Path: core/src/com/github/fauu/helix/Direction.java
// public enum Direction {
//
// SOUTH(new IntVector2(0, -1)), SOUTHEAST(null),
// EAST(new IntVector2(1, 0)), NORTHEAST(null),
// NORTH(new IntVector2(0, 1)), NORTHWEST(null),
// WEST(new IntVector2(-1, 0)), SOUTHWEST(null);
//
// private IntVector2 ve... | import com.badlogic.gdx.graphics.g3d.decals.Decal;
import com.badlogic.gdx.math.Vector2;
import com.badlogic.gdx.math.Vector3;
import com.github.fauu.helix.Direction;
import com.github.fauu.helix.graphics.AnimationType;
import com.github.fauu.helix.util.IntVector3; | DEFAULT_DISPLACEMENT = new Vector3(.52f, .5f, 1.01f);
DEFAULT_SHADOW_DIMENSIONS = new Vector2(1, .8f);
DEFAULT_SHADOW_DISPLACEMENT = new Vector3(.03f, -.33f, -.96f);
}
public DecalDisplayable(Vector3 position) {
decals = new Decal[2];
this.position = position;
}
public Decal[] getDecals(... | // Path: core/src/com/github/fauu/helix/Direction.java
// public enum Direction {
//
// SOUTH(new IntVector2(0, -1)), SOUTHEAST(null),
// EAST(new IntVector2(1, 0)), NORTHEAST(null),
// NORTH(new IntVector2(0, 1)), NORTHWEST(null),
// WEST(new IntVector2(-1, 0)), SOUTHWEST(null);
//
// private IntVector2 ve... | Direction direction, |
fauu/HelixEngine | core/src/com/github/fauu/helix/displayable/DecalDisplayable.java | // Path: core/src/com/github/fauu/helix/Direction.java
// public enum Direction {
//
// SOUTH(new IntVector2(0, -1)), SOUTHEAST(null),
// EAST(new IntVector2(1, 0)), NORTHEAST(null),
// NORTH(new IntVector2(0, 1)), NORTHWEST(null),
// WEST(new IntVector2(-1, 0)), SOUTHWEST(null);
//
// private IntVector2 ve... | import com.badlogic.gdx.graphics.g3d.decals.Decal;
import com.badlogic.gdx.math.Vector2;
import com.badlogic.gdx.math.Vector3;
import com.github.fauu.helix.Direction;
import com.github.fauu.helix.graphics.AnimationType;
import com.github.fauu.helix.util.IntVector3; |
decals[0] = mainDecal;
}
public void setShadowDecal(Decal decal) {
shadowDecal = decal;
decals[1] = shadowDecal;
}
// TODO: Move this into AnimatedDecalDisplayable / make all decals animated / use composition?
public abstract void animate(AnimationType type,
Dire... | // Path: core/src/com/github/fauu/helix/Direction.java
// public enum Direction {
//
// SOUTH(new IntVector2(0, -1)), SOUTHEAST(null),
// EAST(new IntVector2(1, 0)), NORTHEAST(null),
// NORTH(new IntVector2(0, 1)), NORTHWEST(null),
// WEST(new IntVector2(-1, 0)), SOUTHWEST(null);
//
// private IntVector2 ve... | public void updatePosition(IntVector3 entityPosition) { |
negusoft/GreenMatter | GreenMatter/src/main/java/com/negusoft/greenmatter/dialog/DialogUtils.java | // Path: GreenMatter/src/main/java/com/negusoft/greenmatter/util/NativeResources.java
// public class NativeResources {
//
// private static final String NATIVE_PACKAGE = "android";
//
// private static final String TYPE_ID = "id";
// private static final String TYPE_STRING = "string";
// private stat... | import android.app.ActionBar;
import android.content.Context;
import android.content.res.ColorStateList;
import android.content.res.TypedArray;
import android.graphics.Color;
import android.os.Build;
import android.util.AttributeSet;
import android.util.TypedValue;
import android.view.Gravity;
import android.view.View;... | /*******************************************************************************
* Copyright 2015 NEGU Soft
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.or... | // Path: GreenMatter/src/main/java/com/negusoft/greenmatter/util/NativeResources.java
// public class NativeResources {
//
// private static final String NATIVE_PACKAGE = "android";
//
// private static final String TYPE_ID = "id";
// private static final String TYPE_STRING = "string";
// private stat... | int id = NativeResources.getIdentifier(IDENTIFIER_NAME_DIVIDER); |
negusoft/GreenMatter | GreenMatter/src/main/java/com/negusoft/greenmatter/drawable/ScrubberHorizontalDrawable.java | // Path: GreenMatter/src/main/java/com/negusoft/greenmatter/util/ColorUtils.java
// public class ColorUtils {
//
// /** Modify the colors translucency by alpha [0..1] with respect to the original color alpha. */
// public static int applyColorAlpha(int color, float alpha) {
// final int originalAlpha =... | import android.content.res.Resources;
import android.graphics.Canvas;
import android.graphics.ColorFilter;
import android.graphics.Paint;
import android.graphics.PixelFormat;
import android.graphics.Rect;
import android.graphics.drawable.Drawable;
import android.util.DisplayMetrics;
import android.util.TypedValue;
impo... | /*******************************************************************************
* Copyright 2015 NEGU Soft
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.or... | // Path: GreenMatter/src/main/java/com/negusoft/greenmatter/util/ColorUtils.java
// public class ColorUtils {
//
// /** Modify the colors translucency by alpha [0..1] with respect to the original color alpha. */
// public static int applyColorAlpha(int color, float alpha) {
// final int originalAlpha =... | int borderAlpha = ColorUtils.calculateAlpha(alpha, mState.mColor); |
negusoft/GreenMatter | GreenMatter/src/main/java/com/negusoft/greenmatter/drawable/CircleDrawable.java | // Path: GreenMatter/src/main/java/com/negusoft/greenmatter/util/ColorUtils.java
// public class ColorUtils {
//
// /** Modify the colors translucency by alpha [0..1] with respect to the original color alpha. */
// public static int applyColorAlpha(int color, float alpha) {
// final int originalAlpha =... | import android.content.res.Resources;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.ColorFilter;
import android.graphics.Paint;
import android.graphics.PixelFormat;
import android.graphics.Rect;
import android.graphics.drawable.Drawable;
import android.util.DisplayMetrics;
impor... | result.setColor(fillColor);
result.setStyle(Paint.Style.FILL);
result.setAntiAlias(true);
return result;
}
@Override
public void draw(Canvas canvas) {
Rect r = getBounds();
float centerX = (r.left + r.right) / 2f;
float centerY = (r.top + r.bottom) / 2f;
float radius = TypedValue.applyDimension(Typ... | // Path: GreenMatter/src/main/java/com/negusoft/greenmatter/util/ColorUtils.java
// public class ColorUtils {
//
// /** Modify the colors translucency by alpha [0..1] with respect to the original color alpha. */
// public static int applyColorAlpha(int color, float alpha) {
// final int originalAlpha =... | int borderAlpha = ColorUtils.calculateAlpha(alpha, mState.mBorderColor); |
negusoft/GreenMatter | GreenMatter/src/main/java/com/negusoft/greenmatter/drawable/ScrollbarThumbDrawable.java | // Path: GreenMatter/src/main/java/com/negusoft/greenmatter/util/ColorUtils.java
// public class ColorUtils {
//
// /** Modify the colors translucency by alpha [0..1] with respect to the original color alpha. */
// public static int applyColorAlpha(int color, float alpha) {
// final int originalAlpha =... | import android.content.res.Resources;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.ColorFilter;
import android.graphics.Paint;
import android.graphics.Path;
import android.graphics.PixelFormat;
import android.graphics.Rect;
import android.graphics.RectF;
import android.graphics... | mMargin = TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, MARGIN_DP, metrics);
}
private Paint initFillPaint(int color) {
Paint result = new Paint();
result.setColor(color);
result.setStyle(Paint.Style.FILL_AND_STROKE);
result.setAntiAlias(true);
return re... | // Path: GreenMatter/src/main/java/com/negusoft/greenmatter/util/ColorUtils.java
// public class ColorUtils {
//
// /** Modify the colors translucency by alpha [0..1] with respect to the original color alpha. */
// public static int applyColorAlpha(int color, float alpha) {
// final int originalAlpha =... | int resultAlpha = ColorUtils.calculateAlpha(alpha, mState.mColor); |
negusoft/GreenMatter | GreenMatter/src/main/java/com/negusoft/greenmatter/drawable/RoundRectDrawable.java | // Path: GreenMatter/src/main/java/com/negusoft/greenmatter/util/ColorUtils.java
// public class ColorUtils {
//
// /** Modify the colors translucency by alpha [0..1] with respect to the original color alpha. */
// public static int applyColorAlpha(int color, float alpha) {
// final int originalAlpha =... | import android.content.res.Resources;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.ColorFilter;
import android.graphics.Paint;
import android.graphics.Path;
import android.graphics.PixelFormat;
import android.graphics.Rect;
import android.graphics.RectF;
import android.graphics... | // Bottom right corner (clockwise)
RectF bottomRightArc = new RectF(
right - cornerSize,
bottom - cornerSize,
right,
bottom
);
result.arcTo(bottomRightArc, 0, 90);
// Bottom left corner (clockwise)
RectF bot... | // Path: GreenMatter/src/main/java/com/negusoft/greenmatter/util/ColorUtils.java
// public class ColorUtils {
//
// /** Modify the colors translucency by alpha [0..1] with respect to the original color alpha. */
// public static int applyColorAlpha(int color, float alpha) {
// final int originalAlpha =... | int borderAlpha = ColorUtils.calculateAlpha(alpha, mState.mBorderColor); |
binzume/mikumikudroid | src/jp/gauzau/MikuMikuDroid/MikuRendererGLES20.java | // Path: src/jp/gauzau/MikuMikuDroid/Miku.java
// public class RenderSet {
// public String shader;
// public String target;
// public RenderSet(String s, String t) {
// shader = s;
// target = t;
// }
// }
| import java.nio.ByteBuffer;
import java.nio.ByteOrder;
import java.nio.FloatBuffer;
import java.nio.ShortBuffer;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map.Entry;
import javax.microedition.khronos.egl.EGLConfig;
import javax.microedition.khronos.opengles.GL10;
import jp.gauzau.M... | GLES20.glActiveTexture(GLES20.GL_TEXTURE2);
//GLES20.glTexParameteri(GLES20.GL_TEXTURE_2D, GLES20.GL_TEXTURE_MAG_FILTER, GLES20.GL_NEAREST);
mRT.get("screenR").bindTexture();
GLES20.glDrawElements(GLES20.GL_TRIANGLES, 6, GLES20.GL_UNSIGNED_SHORT, mBgIndex);
} else {
mRT.get("screen").switchTarg... | // Path: src/jp/gauzau/MikuMikuDroid/Miku.java
// public class RenderSet {
// public String shader;
// public String target;
// public RenderSet(String s, String t) {
// shader = s;
// target = t;
// }
// }
// Path: src/jp/gauzau/MikuMikuDroid/MikuRendererGLES20.java
import java.nio.ByteBuffer;
impor... | for(RenderSet rs: miku.mRenderSenario) {
|
DarkLBP/Krothium-Launcher | src/kml/game/GameStarter.java | // Path: src/kml/proxy/URLHandler.java
// public class URLHandler implements URLStreamHandlerFactory {
// private final HttpsHandler HTTPS_HANDLER = new HttpsHandler();
// private final HttpHandler HTTP_HANDLER = new HttpHandler();
//
// @Override
// public final URLStreamHandler createURLStreamHandler... | import kml.proxy.URLHandler;
import java.lang.reflect.Method;
import java.net.URL; | package kml.game;
/**
* @author DarkLBP
* website https://krothium.com
*/
public class GameStarter {
public static void main(String[] args) {
System.out.println("GameStarter launcher with " + args.length + " arguments."); | // Path: src/kml/proxy/URLHandler.java
// public class URLHandler implements URLStreamHandlerFactory {
// private final HttpsHandler HTTPS_HANDLER = new HttpsHandler();
// private final HttpHandler HTTP_HANDLER = new HttpHandler();
//
// @Override
// public final URLStreamHandler createURLStreamHandler... | URL.setURLStreamHandlerFactory(new URLHandler()); |
DarkLBP/Krothium-Launcher | src/kml/proxy/ConnectionHandler.java | // Path: src/kml/proxy/matchers/URLMatcher.java
// public interface URLMatcher {
// boolean match(String url);
//
// String handle(String url);
// }
| import kml.proxy.matchers.URLMatcher;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.net.HttpURLConnection;
import java.net.ProtocolException;
import java.net.URL;
import java.security.Permission;
import java.util.List;
import java.util.Map; | package kml.proxy;
/**
* @author DarkLBP
* website https://krothium.com
*/
class ConnectionHandler extends HttpURLConnection {
private HttpURLConnection relay;
| // Path: src/kml/proxy/matchers/URLMatcher.java
// public interface URLMatcher {
// boolean match(String url);
//
// String handle(String url);
// }
// Path: src/kml/proxy/ConnectionHandler.java
import kml.proxy.matchers.URLMatcher;
import java.io.IOException;
import java.io.InputStream;
import java.io.Outpu... | public ConnectionHandler(URL url, URLMatcher m) { |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.