Yeah, that's all fine. The problem is just that the ant editor takes over so that the WTP editor doesn't work whenever a target element is found in an xml file.
-Stephen On 10/26/05, Brian Bonner <[EMAIL PROTECTED]> wrote: > well, except for that case. :) configuration takes a type of xsd:any, > so target won't break it, but WTP doesn't provide code-assist since > the schema indicates that *any* element is valid inside content. > > <xs:element name="configuration" minOccurs="0"> > <xs:annotation> > <xs:documentation source="version">4.0.0</xs:documentation> > </xs:annotation> > <xs:complexType> > <xs:sequence> > <xs:any minOccurs="0" maxOccurs="unbounded" > processContents="skip"/> > </xs:sequence> > </xs:complexType> > </xs:element> > > Brian > > On 10/26/05, Stephen Duncan <[EMAIL PROTECTED]> wrote: > > Configuration for the compiler plugin: > > > > <build> > > <plugins> > > <plugin> > > <groupId>org.apache.maven.plugins</groupId> > > > > <artifactId>maven-compiler-plugin</artifactId> > > <configuration> > > <source>1.4</source> > > <target>1.4</target> > > </configuration> > > </plugin> > > </plugins> > > </build> > > > > On 10/26/05, Brian Bonner <[EMAIL PROTECTED]> wrote: > > > Since I can't find <target> anywhere in the project descriptor model > > > > > > http://maven.apache.org/maven-model/maven.html > > > > > > I'm sure this would break it, What is "<target>"? > > > > > > Brian > > > On 10/26/05, Stephen Duncan <[EMAIL PROTECTED]> wrote: > > > > Does it still work fine when you include a <target> element? That's > > > > when it breaks. I've removed my annoyance by having that > > > > configuration in a global parent POM, so my projects' poms don't have > > > > the problem... > > > > > > > > -Stephen > > > > > > > > On 10/26/05, Brian Bonner <[EMAIL PROTECTED]> wrote: > > > > > I just include: > > > > > > > > > > <project xmlns="http://maven.apache.org/POM/4.0.0" > > > > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > > > > > xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 > > > > > http://maven.apache.org/maven-v4_0_0.xsd"> > > > > > > > > > > And it works fine in the xml editor. > > > > > > > > > > Brian > > > > > > > > > > --------------------------------------------------------------------- > > > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > > > > > > > > > > -- > > > > Stephen Duncan Jr > > > > www.stephenduncanjr.com > > > > > > > > --------------------------------------------------------------------- > > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > -- > > Stephen Duncan Jr > > www.stephenduncanjr.com > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Stephen Duncan Jr www.stephenduncanjr.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]